mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
Merge topic 'FindCUDA-deprecate-cublas_device'
bdf1f36135 FindCUDA: Do not find cublas_device on CUDA >= 9.2
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2298
This commit is contained in:
@@ -971,7 +971,8 @@ if(NOT CUDA_VERSION VERSION_LESS "3.2")
|
||||
find_cuda_helper_libs(nvcuvid)
|
||||
endif()
|
||||
endif()
|
||||
if(CUDA_VERSION VERSION_GREATER "5.0")
|
||||
if(CUDA_VERSION VERSION_GREATER "5.0" AND CUDA_VERSION VERSION_LESS "9.2")
|
||||
# In CUDA 9.2 cublas_device was deprecated
|
||||
find_cuda_helper_libs(cublas_device)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user