We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5570fa5 commit 3e26b32Copy full SHA for 3e26b32
cmake/public/detect_features.cmake
@@ -46,7 +46,7 @@ endfunction()
46
# - Clang-CUDA: Try Clang-CUDA or fail.
47
# - NVCC-CUDA: Try NVCC-CUDA or fail.
48
function(detect_cuda_type cuda_type mode)
49
- if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "CrayClang"))
50
# not Clang, therefore the only option is NVCC
51
try_nvcc_cuda(gt_result)
52
set(${cuda_type} ${gt_result} PARENT_SCOPE)
0 commit comments