CI: enable nvcc + clang host compiler - #660
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
CI_FILTER: ^linux_nvcc.*clang
|
Adding the follwoing patch is changing the error for the deprecated copy to a warning diff --git a/cmake/alpakaCompilePedantic.cmake b/cmake/alpakaCompilePedantic.cmake
index 6501e0e5..eaf7f519 100644
--- a/cmake/alpakaCompilePedantic.cmake
+++ b/cmake/alpakaCompilePedantic.cmake
@@ -27,6 +27,14 @@ if(TARGET alpaka_target_cuda)
# avoid `declared with greater visibility than the type of its field` with nvcc 12.8+
alpaka_set_compiler_options(DEVICE target alpaka_target_cuda "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Wno-attributes>")
endif()
+ if(${_alpaka_CUDA_HOST_COMPILER} STREQUAL "Clang")
+ alpaka_set_compiler_options(
+ DEVICE
+ target
+ alpaka_target_cuda
+ "$<$<CXX_COMPILER_ID:Clang>:SHELL:-Xcompiler=-Wno-error=deprecated-copy>"
+ )
+ endif()
endif()
endif()This will not solve the fact that most runtime tests will fail. nvcc+clang is generating empty kernels if all kernel parameters are defined |
No description provided.