未验证 提交 de44b3ac 编写于 作者: C chalsliu 提交者: GitHub

fix version message (#50318)

上级 891cf433
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册