diff --git a/cmake/experiments/cuda_module_loading_lazy.cmake b/cmake/experiments/cuda_module_loading_lazy.cmake index f6da0771be0c081226c284775ef2f2c9528030f4..9e1fa4fa4d961a4e4e2b81ab20668eced3053849 100644 --- a/cmake/experiments/cuda_module_loading_lazy.cmake +++ b/cmake/experiments/cuda_module_loading_lazy.cmake @@ -31,9 +31,9 @@ if(LINUX) message("cuda 11.7+ already support lazy module loading") return() endif() - if(${CUDA_VERSION} VERSION_LESS "11.2" AND ${CMAKE_CXX_COMPILER_VERSION} + if(${CUDA_VERSION} VERSION_LESS "12.0" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER_EQUAL 12.0) - message("cuda less than 11.2 doesn't support gcc12") + message("cuda less than 12.0 doesn't support gcc12") return() endif()