Change remaining build targets to specify active SM variants

This commit is contained in:
Rob Armstrong
2024-12-16 16:17:14 -08:00
parent 11fc617794
commit 03719b7623
98 changed files with 98 additions and 98 deletions

View File

@@ -6,7 +6,7 @@ project(cdpQuadtree LANGUAGES C CXX CUDA)
find_package(CUDAToolkit REQUIRED)
set(CMAKE_CUDA_ARCHITECTURES "native")
set(CMAKE_CUDA_ARCHITECTURES 50 52 60 61 70 75 80 86 89 90)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive)
endif()