-
Notifications
You must be signed in to change notification settings - Fork 222
cuda.pathfinder._find_nvidia_header_directory(): add support for CTK libs
#956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
|
/ok to test |
This comment has been minimized.
This comment has been minimized.
…idia_wheels_cu12, nvidia_wheels_cu13
|
/ok to test |
leofang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick pass
cuda_pathfinder/cuda/pathfinder/_headers/find_nvidia_headers.py
Outdated
Show resolved
Hide resolved
cuda_pathfinder/cuda/pathfinder/_headers/supported_nvidia_headers.py
Outdated
Show resolved
Hide resolved
cuda_pathfinder/cuda/pathfinder/_headers/supported_nvidia_headers.py
Outdated
Show resolved
Hide resolved
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
@leofang I just marked this PR as Ready for review, but there is a small docs-only glitch that I couldn't resolve even after spending a good 45 minutes or so. I added this part: But Sphinx doesn't pick it up. I looked around for a few minutes to see if there is an existing similar constant with documentation, but didn't get lucky. Do you know how to get Sphinx to pick up documentation for constants? |
|
Q:
module_level_variable = 12345
"""int: Module level variable documented inline."""
|
A triple-quoted docstring worked for Sphinx but tripped up the check-docstring-first pre-commit check.
Wrt commit 3faea76: The triple-quoted docstring worked for Sphinx, but tripped up the The I tried various ways to have the docstring in |
|
/ok to test |
|
/ok to test |
|
Thanks for the reviews! |
|
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