diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-05-04 18:03:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-05-04 18:07:39 +0300 |
commit | 5559ea59a1eb66ef94ab430012e3612075b4e763 (patch) | |
tree | 33da359f07346d149455b589b30b34a693bd0ef4 /intern/cycles | |
parent | b5b6ae06f98e4f32a96632d8a4f2c789546b0190 (diff) |
Cycles: mark all CUDA 11.x versions as supported
All released versions appear to work fine. Also slightly change wording.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index e33330af029..d97854a52d0 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -356,16 +356,13 @@ if(WITH_CYCLES_CUDA_BINARIES) set(CUDA_VERSION "${CUDA_VERSION_MAJOR}${CUDA_VERSION_MINOR}") # warn for other versions - if((CUDA_VERSION MATCHES "101") OR - (CUDA_VERSION MATCHES "102") OR - (CUDA_VERSION MATCHES "111") OR - (CUDA_VERSION MATCHES "112") OR - (CUDA_VERSION MATCHES "113") OR - (CUDA_VERSION MATCHES "114")) + if((CUDA_VERSION STREQUAL "101") OR + (CUDA_VERSION STREQUAL "102") OR + (CUDA_VERSION_MAJOR STREQUAL "11")) else() message(WARNING "CUDA version ${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR} detected, " - "build may succeed but only CUDA 10.1 to 11.4 are officially supported") + "build may succeed but only CUDA 11, 10.2 and 10.1 have been tested") endif() # build for each arch |