File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
cuda_pathfinder/cuda/pathfinder Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33
4+ """cuda.pathfinder public APIs"""
5+
46from cuda .pathfinder ._dynamic_libs .load_dl_common import DynamicLibNotFoundError as DynamicLibNotFoundError
57from cuda .pathfinder ._dynamic_libs .load_dl_common import LoadedDL as LoadedDL
68from cuda .pathfinder ._dynamic_libs .load_nvidia_dynamic_lib import load_nvidia_dynamic_lib as load_nvidia_dynamic_lib
79from cuda .pathfinder ._dynamic_libs .supported_nvidia_libs import (
810 SUPPORTED_LIBNAMES as SUPPORTED_NVIDIA_LIBNAMES , # noqa: F401
911)
1012from cuda .pathfinder ._headers .find_nvidia_headers import find_nvidia_header_directory as find_nvidia_header_directory
11- from cuda .pathfinder ._headers .supported_nvidia_headers import SUPPORTED_HEADERS_CTK as SUPPORTED_HEADERS_CTK
13+ from cuda .pathfinder ._headers .supported_nvidia_headers import SUPPORTED_HEADERS_CTK as _SUPPORTED_HEADERS_CTK
1214from cuda .pathfinder ._version import __version__ as __version__
1315
16+ # Indirection to help Sphinx find the docstring.
17+ #: Mapping from short CUDA Toolkit (CTK) library names to their canonical
18+ #: header basenames (used to validate a discovered include directory).
19+ #: Example: ``"cublas" → "cublas.h"``. The key set is platform-aware
20+ #: (e.g., ``"cufile"`` may be Linux-only).
21+ SUPPORTED_HEADERS_CTK = _SUPPORTED_HEADERS_CTK
22+
1423# Backward compatibility with release 1.2.2. To be removed in release 1.2.4.
1524_find_nvidia_header_directory = find_nvidia_header_directory
Original file line number Diff line number Diff line change 3434SUPPORTED_HEADERS_CTK_ALL = (
3535 SUPPORTED_HEADERS_CTK_COMMON | SUPPORTED_HEADERS_CTK_LINUX_ONLY | SUPPORTED_HEADERS_CTK_WINDOWS_ONLY
3636)
37- #: Mapping from short CUDA Toolkit (CTK) library names to their canonical
38- #: header basenames (used to validate a discovered include directory).
39- #: Example: ``"cublas" → "cublas.h"``. The key set is platform-aware
40- #: (e.g., ``"cufile"`` may be Linux-only).
4137SUPPORTED_HEADERS_CTK : Final [dict [str , str ]] = (
4238 SUPPORTED_HEADERS_CTK_WINDOWS if IS_WINDOWS else SUPPORTED_HEADERS_CTK_LINUX
4339)
Original file line number Diff line number Diff line change @@ -65,4 +65,4 @@ echo "Build docs with e.g.:"
6565echo " conda activate ${ENV_NAME} "
6666echo " cd cuda_pathfinder/"
6767echo " pip install -e ."
68- echo " (cd docs/ && rm -rf build && ./build_docs.sh)"
68+ echo " (cd docs/ && rm -rf build source/generated && ./build_docs.sh)"
You can’t perform that action at this time.
0 commit comments