Skip to content

Commit 726c1e1

Browse files
committed
Make: Target SM 9.0a over SM 9.0
1 parent 152e59a commit 726c1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ endif()
334334
# https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
335335
if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" OR CMAKE_CUDA_COMPILER_ID STREQUAL "NVHPC")
336336
set_target_properties(less_slow PROPERTIES POSITION_INDEPENDENT_CODE ON)
337-
set_target_properties(less_slow PROPERTIES CUDA_ARCHITECTURES "70;75;80;89;90")
337+
set_target_properties(less_slow PROPERTIES CUDA_ARCHITECTURES "70;75;80;89;90a")
338338
target_compile_options(less_slow PRIVATE
339339
-Wfatal-errors # Stop on first error
340340
-fopenmp # OpenMP support, also requires linking

0 commit comments

Comments
 (0)