Skip to content

Commit

Permalink
update CMakeLists.txt (#1273)
Browse files Browse the repository at this point in the history
- compute capability 90 appeared first in CUDA 11.8, causing error for CUDA 11.7
  • Loading branch information
KarelVesely84 committed Mar 21, 2024
1 parent 657c404 commit 99f5979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ if(K2_WITH_CUDA)
string(APPEND CMAKE_CUDA_FLAGS " -Wno-deprecated-gpu-targets ")
endif()

if(CUDA_VERSION VERSION_GREATER_EQUAL "11.6")
if(CUDA_VERSION VERSION_GREATER_EQUAL "11.8")
# https://docs.nvidia.com/cuda/archive/11.8.0/pdf/CUDA_Toolkit_Release_Notes.pdf
# added support for Hopper (90)
list(APPEND K2_COMPUTE_ARCH_CANDIDATES 90)
Expand Down

0 comments on commit 99f5979

Please sign in to comment.