llvm / llvm/llvm-project

ICE when building Kokkos-CUDA backend with clang versions 19,20,21,22 on NVIDIA A100 GPU

Open
#190,853 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.