alpaka
alpaka copied to clipboard
Add Clang 12 as CUDA compiler to the CI
After removing old Clang from the CI in the PR #1300 , we should also add the latest versions of Clang/LLVM.
Since Clang/LLVM 11, Clang is forward compatible to new CUDA versions: https://github.com/llvm/llvm-project/commit/12fefeef203ab4ef52d19bcdbd4180608a4deae1
So we should change this line in the CMake from a FATAL_ERROR
to a WARNING
, if the version is greater than 10.
I will give it a try (also as non-cuda compilers)
#1766 adds clang-14 as CUDA compiler to the CI. Once that is merged this should be next.
@SimeonEhrig can you please provide a PR for that change? Thx!
Clang 13 and older are disabled in this issue https://github.com/alpaka-group/alpaka/issues/1857 because they are not fully supported