[clang] [CUDA][HIP] Add a __device__ version of std::__glibcxx_assert_fail() (PR #136133)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 17 05:38:31 PDT 2025


yxsamliu wrote:

> This patch is cruelly missing some tests. Is there a place for tests of this kind? I haven't found an obvious one for other headers.

You may consider adding a test here https://github.com/llvm/llvm-test-suite/tree/main/External/HIP.

If possible, I would be happy to see std::array etc be used in device code.

https://github.com/llvm/llvm-project/pull/136133


More information about the cfe-commits mailing list