From de44b3ac2c0387970fac139bd88dbd6a5db51265 Mon Sep 17 00:00:00 2001 From: chalsliu <45041955+chalsliu@users.noreply.github.com> Date: Mon, 10 Apr 2023 12:53:31 +0800 Subject: [PATCH] fix version message (#50318) --- cmake/experiments/cuda_module_loading_lazy.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/experiments/cuda_module_loading_lazy.cmake b/cmake/experiments/cuda_module_loading_lazy.cmake index f6da0771be0..9e1fa4fa4d9 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() -- GitLab