mirror of
https://github.com/Kitware/CMake.git
synced 2026-06-24 08:47:59 +00:00
FindCUDAToolkit: Add cufilt target for CUDA 11.4 and above
Fixes: #26705
This commit is contained in:
5
Help/release/dev/findcudatoolkit-target-for-cufilt.rst
Normal file
5
Help/release/dev/findcudatoolkit-target-for-cufilt.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
findcudatoolkit-target-for-cufilt
|
||||
---------------------------------
|
||||
|
||||
* The :module:`FindCUDAToolkit` module now provides an imported target
|
||||
for ``cufilt`` in CUDA 11.4 and above.
|
||||
@@ -138,6 +138,7 @@ of the following libraries that are part of the CUDAToolkit:
|
||||
- `nvtx3`_
|
||||
- `OpenCL`_
|
||||
- `cuLIBOS`_
|
||||
- `cufilt`_
|
||||
|
||||
CUDA Runtime Library
|
||||
""""""""""""""""""""
|
||||
@@ -553,6 +554,20 @@ Target Created:
|
||||
|
||||
.. _`NVIDIA Compute Sanitizer`: https://docs.nvidia.com/compute-sanitizer
|
||||
|
||||
cufilt
|
||||
""""""
|
||||
|
||||
.. versionadded:: 4.4
|
||||
|
||||
The `cu++filt`_ binary utility also provides a static library for demangling
|
||||
CUDA C++ symbols.
|
||||
|
||||
Targets Created:
|
||||
|
||||
- ``CUDA::cufilt`` starting in CUDA 11.4
|
||||
|
||||
.. _`cu++filt`: https://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#cu-filt
|
||||
|
||||
Result Variables
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -1564,6 +1579,10 @@ if(CUDAToolkit_FOUND)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.4)
|
||||
_CUDAToolkit_find_and_add_import_lib(cufilt)
|
||||
endif()
|
||||
|
||||
if(_CUDAToolkit_Pop_ROOT_PATH)
|
||||
list(REMOVE_AT CMAKE_FIND_ROOT_PATH 0)
|
||||
unset(_CUDAToolkit_Pop_ROOT_PATH)
|
||||
|
||||
Reference in New Issue
Block a user