Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kkraus14
Copy link
Collaborator

@kkraus14 kkraus14 commented Aug 6, 2025

Description

closes #811

Updates the pathfinder imports and handle access in the CUDA bindings. Working on code-gen updates alongside these changes.

Changes Made:

  • Replace cuda.bindings.path_finder with cuda.pathfinder
  • Import load_nvidia_dynamic_lib function directly instead of importing the module
  • Change .handle to ._handle for private attribute access
  • Update all internal binding files:
    • nvvm_linux.pyx and nvvm_windows.pyx
    • nvjitlink_linux.pyx and nvjitlink_windows.pyx
    • cufile_linux.pyx
    • cynvrtc.pyx.in

Files Modified:

  • cuda_bindings/cuda/bindings/_bindings/cynvrtc.pyx.in
  • cuda_bindings/cuda/bindings/_internal/cufile_linux.pyx
  • cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx
  • cuda_bindings/cuda/bindings/_internal/nvjitlink_windows.pyx
  • cuda_bindings/cuda/bindings/_internal/nvvm_linux.pyx
  • cuda_bindings/cuda/bindings/_internal/nvvm_windows.pyx

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Copy link
Contributor

copy-pr-bot bot commented Aug 6, 2025

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.

@kkraus14
Copy link
Collaborator Author

kkraus14 commented Aug 6, 2025

/ok to test

This comment has been minimized.

@kkraus14
Copy link
Collaborator Author

kkraus14 commented Aug 6, 2025

/ok to test

@kkraus14 kkraus14 requested a review from rwgk August 7, 2025 01:01
@leofang leofang added enhancement Any code-related improvements P0 High priority - Must do! cuda.bindings Everything related to the cuda.bindings module labels Aug 7, 2025
@leofang leofang added this to the cuda-python 13.0.0 & 12.9.1 milestone Aug 7, 2025
Copy link
Member

@leofang leofang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, is there anything else needed?

@github-project-automation github-project-automation bot moved this from Todo to In Review in CCCL Aug 7, 2025
@kkraus14 kkraus14 marked this pull request as ready for review August 7, 2025 01:39
Copy link
Contributor

copy-pr-bot bot commented Aug 7, 2025

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 leofang merged commit 15e99e9 into NVIDIA:main Aug 7, 2025
52 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Aug 7, 2025
Copy link

github-actions bot commented Aug 7, 2025

Doc Preview CI
Preview removed because the pull request was closed or merged.

@kkraus14 kkraus14 added the to-be-backported Trigger the bot to raise a backport PR upon merge label Aug 7, 2025
github-actions bot pushed a commit that referenced this pull request Aug 7, 2025
* Remove pathfinder redirect, update usage

* fix handle attribute

(cherry picked from commit 15e99e9)
Copy link

github-actions bot commented Aug 7, 2025

Successfully created backport PR for 12.9.x:

leofang pushed a commit that referenced this pull request Aug 7, 2025
* Remove pathfinder redirect, update usage

* fix handle attribute

(cherry picked from commit 15e99e9)

Co-authored-by: Keith Kraus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.bindings Everything related to the cuda.bindings module enhancement Any code-related improvements P0 High priority - Must do! to-be-backported Trigger the bot to raise a backport PR upon merge
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Remove cuda.bindings.path_finder module
2 participants