Skip to content

Commit 43e81b4

Browse files
committed
Remove SUPPORTED_HEADERS_NON_CTK from public API, as requested by Leo offline
1 parent 03e10b1 commit 43e81b4

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

cuda_pathfinder/cuda/pathfinder/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
)
1212
from cuda.pathfinder._headers.find_nvidia_headers import find_nvidia_header_directory as find_nvidia_header_directory
1313
from 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
1514
from cuda.pathfinder._version import __version__ as __version__
1615

1716
# Indirections to help Sphinx find the docstrings.
@@ -20,8 +19,6 @@
2019
#: Example: ``"cublas" → "cublas.h"``. The key set is platform-aware
2120
#: (e.g., ``"cufile"`` may be Linux-only).
2221
SUPPORTED_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.

cuda_pathfinder/cuda/pathfinder/_headers/find_nvidia_headers.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)