Uh oh!
There was an error while loading. Please reload this page.
cuda.pathfinder._find_nvidia_header_directory(): add support for CTK libs - #956
Conversation
…_CTK, SUPPORTED_SITE_PACKAGE_HEADER_DIRS_CTK dicts.
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
rwgk
commented
Sep 9, 2025
/ok to test |
This comment has been minimized.
This comment has been minimized.
…idia_wheels_cu12, nvidia_wheels_cu13
rwgk
commented
Sep 9, 2025
/ok to test |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A triple-quoted docstring worked for Sphinx but tripped up the check-docstring-first pre-commit check.
rwgk
commented
Sep 16, 2025
Wrt commit 3faea76: The triple-quoted docstring worked for Sphinx, but tripped up the The I tried various ways to have the docstring in |
rwgk
commented
Sep 16, 2025
/ok to test |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rwgk
commented
Sep 17, 2025
/ok to test |
rwgk
commented
Sep 17, 2025
Thanks for the reviews! |
Uh oh!
There was an error while loading. Please reload this page.
|
When `CUDA_PATH`/`CUDA_HOME` are unset, fall back to `/usr/local/cuda` on non-Windows platforms. Aligns with CuPy's `get_cuda_path()` behavior and fixes CuPy header detection in containers (e.g. Holoscan). Ref: PR NVIDIA#956
Closes#832, #954
Make the
cuda.pathfinder._find_nvidia_header_directoryAPI public (by removing the leading underscore) and extend the function to also support CTK library headers.See new
find_nvidia_header_directory()docstring for details:https://nvidia.github.io/cuda-python/cuda-pathfinder/1.2.3/generated/cuda.pathfinder.find_nvidia_header_directory.html