1 parent 4500c1c commit c43853eCopy full SHA for c43853e
1 file changed
CMakeLists.txt
@@ -43,10 +43,7 @@ if(USE_CUDA)
43
enable_language(CUDA)
44
message(STATUS "CUDA compiler detected at: ${CMAKE_CUDA_COMPILER}")
45
# Optionally allow the user to set CUDA architectures manually, otherwise set a default
46
- if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
47
- # Set default architectures (compatible for most modern NVIDIA GPUs)
48
- set(CMAKE_CUDA_ARCHITECTURES 60 61 70 75 80 86)
49
- endif()
+ set(CMAKE_CUDA_ARCHITECTURES 70 75 80 86)
50
message(STATUS "Using CUDA architectures: ${CMAKE_CUDA_ARCHITECTURES}")
51
set(BUILD_GPU_TARGET ON)
52
else()
0 commit comments