We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7666bec commit 4dfa3ccCopy full SHA for 4dfa3cc
cpp/cmake/modules/cuda_configuration.cmake
@@ -122,6 +122,10 @@ macro(setup_cuda_architectures)
122
else()
123
unset(CMAKE_CUDA_ARCHITECTURES_CLEAN)
124
foreach(CUDA_ARCH IN LISTS CMAKE_CUDA_ARCHITECTURES)
125
+ if(CUDA_ARCH STREQUAL "")
126
+ continue()
127
+ endif()
128
+
129
if(CUDA_ARCH MATCHES "^([1-9])([0-9])+a?-virtual$")
130
message(FATAL_ERROR "Including PTX in compiled binary is unsupported.")
131
elseif(CUDA_ARCH MATCHES "^(([1-9])([0-9])+)a?(-real)?$")
0 commit comments