mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
FindCUDA: Do not search for the deprecated nppicom when CUDA >= 11
The nppicom library has been removed in preference of nvjpeg starting in CUDA 11. Fixes: #20845
This commit is contained in:
committed by
Brad King
parent
e66fe75792
commit
1d9f2f9714
@@ -357,7 +357,8 @@ The script defines the following variables::
|
|||||||
CUDA_nppicc_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
CUDA_nppicc_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
||||||
Only available for CUDA version 9.0.
|
Only available for CUDA version 9.0.
|
||||||
CUDA_nppicom_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
CUDA_nppicom_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
||||||
Only available for CUDA version 9.0.
|
Only available for CUDA version 9.0 - 10.2.
|
||||||
|
Replaced by nvjpeg.
|
||||||
CUDA_nppidei_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
CUDA_nppidei_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
||||||
Only available for CUDA version 9.0.
|
Only available for CUDA version 9.0.
|
||||||
CUDA_nppif_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
CUDA_nppif_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
||||||
@@ -1002,7 +1003,9 @@ if(NOT CUDA_VERSION VERSION_LESS "9.0")
|
|||||||
find_cuda_helper_libs(nppc)
|
find_cuda_helper_libs(nppc)
|
||||||
find_cuda_helper_libs(nppial)
|
find_cuda_helper_libs(nppial)
|
||||||
find_cuda_helper_libs(nppicc)
|
find_cuda_helper_libs(nppicc)
|
||||||
find_cuda_helper_libs(nppicom)
|
if(CUDA_VERSION VERSION_LESS "11.0")
|
||||||
|
find_cuda_helper_libs(nppicom)
|
||||||
|
endif()
|
||||||
find_cuda_helper_libs(nppidei)
|
find_cuda_helper_libs(nppidei)
|
||||||
find_cuda_helper_libs(nppif)
|
find_cuda_helper_libs(nppif)
|
||||||
find_cuda_helper_libs(nppig)
|
find_cuda_helper_libs(nppig)
|
||||||
|
|||||||
Reference in New Issue
Block a user