We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cuda-maxver
1 parent 7e2d730 commit ce07580Copy full SHA for ce07580
1 file changed
build2cmake/src/templates/cuda/preamble.cmake
@@ -45,7 +45,7 @@ if (NOT HIP_FOUND AND CUDA_FOUND)
45
{% endif %}
46
47
{% if cuda_maxver %}
48
- if (CUDA_VERSION VERSION_MORE {{ cuda_maxver }})
+ if (CUDA_VERSION VERSION_GREATER {{ cuda_maxver }})
49
message(FATAL_ERROR "CUDA version ${CUDA_VERSION} is too new. "
50
"Maximum version is {{ cuda_maxver }}.")
51
endif()
0 commit comments