ICE when building Kokkos-CUDA backend with clang versions 19,20,21,22 on NVIDIA A100 GPU
Open
clang
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
A deeply nested `inline` function in Kokkos-CUDA backend, specifically [here](https://github.com/kokkos/kokkos/blob/develop/core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp#L40) leads to ICE with the last 4 versions of clang compilers.
Attaching the bug report.
[TestCuda_HostSharedPtrAccessOnDevice-sm_80-a4ec92.sh](https://github.com/user-attachments/files/26552129/TestCuda_HostSharedPtrAccessOnDevice-sm_80-a4ec92.sh)
Contributor guide
Assessment
This issue has not been assessed yet.