mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-04-20 06:49:29 +00:00
Auto-detect CUDA arch in CMake GPU check (#666)
Compute capability 60 support is dropped from CUDA 13 Co-authored-by: Binyang Li <binyli@microsoft.com>
This commit is contained in:
@@ -9,7 +9,7 @@ if(NOT CUDAToolkit_FOUND)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(CMAKE_CUDA_ARCHITECTURES "60")
|
||||
set(CMAKE_CUDA_ARCHITECTURES native)
|
||||
if(NOT CMAKE_CUDA_COMPILER)
|
||||
# In case the CUDA Toolkit directory is not in the PATH
|
||||
find_program(CUDA_COMPILER
|
||||
|
||||
Reference in New Issue
Block a user