We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6d69d commit 9e0835aCopy full SHA for 9e0835a
CMakeLists.txt
@@ -177,7 +177,7 @@ if (DEFINED GPU_ARCHS)
177
message(STATUS "GPU_ARCHS defined as ${GPU_ARCHS}. Generating CUDA code for SM ${GPU_ARCHS}")
178
separate_arguments(GPU_ARCHS)
179
foreach(SM IN LISTS GPU_ARCHS)
180
- list(APPEND CMAKE_CUDA_ARCHITECTURES SM)
+ list(APPEND CMAKE_CUDA_ARCHITECTURES "${SM}")
181
endforeach()
182
else()
183
list(APPEND CMAKE_CUDA_ARCHITECTURES 72 75 80 86 87 89 90)
0 commit comments