File tree Expand file tree Collapse file tree
cuda_pathfinder/cuda/pathfinder Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111)
1212from cuda .pathfinder ._headers .find_nvidia_headers import find_nvidia_header_directory as find_nvidia_header_directory
1313from cuda .pathfinder ._headers .supported_nvidia_headers import SUPPORTED_HEADERS_CTK as _SUPPORTED_HEADERS_CTK
14- from cuda .pathfinder ._headers .supported_nvidia_headers import SUPPORTED_HEADERS_NON_CTK as _SUPPORTED_HEADERS_NON_CTK
1514from cuda .pathfinder ._version import __version__ as __version__
1615
1716# Indirections to help Sphinx find the docstrings.
2019#: Example: ``"cublas" → "cublas.h"``. The key set is platform-aware
2120#: (e.g., ``"cufile"`` may be Linux-only).
2221SUPPORTED_HEADERS_CTK = _SUPPORTED_HEADERS_CTK
23- #: Mapping from non-CTK library names to their canonical header basenames.
24- SUPPORTED_HEADERS_NON_CTK = _SUPPORTED_HEADERS_NON_CTK
2522
2623# Backward compatibility: _find_nvidia_header_directory was added in release 1.2.2.
2724# It will be removed in release 1.2.4.
Original file line number Diff line number Diff line change @@ -125,14 +125,6 @@ def find_nvidia_header_directory(libname: str) -> Optional[str]:
125125 3. **CUDA Toolkit environment variables**
126126
127127 - Use ``CUDA_HOME`` or ``CUDA_PATH`` (in that order).
128-
129- Notes:
130- - The ``SUPPORTED_HEADERS_CTK`` dictionary maps each supported CUDA Toolkit
131- (CTK) libname to the name of its canonical header (e.g., ``"cublas" →
132- "cublas.h"``). This is used to verify that the located directory is valid.
133-
134- Similarly, the ``SUPPORTED_HEADERS_NON_CTK`` dictionary maps non-CTK
135- libnames to the name of the corresponding canonical header.
136128 """
137129
138130 if libname in supported_nvidia_headers .SUPPORTED_HEADERS_CTK :
You can’t perform that action at this time.
0 commit comments