From 99f59794c68da2b9f128fabd51487fd5c786510f Mon Sep 17 00:00:00 2001 From: Karel Vesely Date: Thu, 21 Mar 2024 11:12:38 +0100 Subject: [PATCH] update CMakeLists.txt (#1273) - compute capability 90 appeared first in CUDA 11.8, causing error for CUDA 11.7 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07ce545bf..03766f140 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)