Skip to content

Improve documentation of CUstream.getPtr #765

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

Merged
merged 2 commits into from
Jul 21, 2025
Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jul 18, 2025

Description

closes

The documentation of the difference between CUstream.getPtr and CUstream.__int__ is not clear. This change emphasizes the key fact that CUstream is itself a pointer to help clarify that the former returns a pointer to a pointer while the latter returns the usually desired pointer.

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 Jul 18, 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 added documentation Improvements or additions to documentation P1 Medium priority - Should do cuda.bindings Everything related to the cuda.bindings module labels Jul 19, 2025
@leofang leofang added this to the cuda-python 12-next, 11-next milestone Jul 19, 2025
@leofang
Copy link
Member

leofang commented Jul 21, 2025

Merging without CI, since this is a doc-only change. Thanks, Vyas!

@leofang leofang merged commit 01f2be1 into NVIDIA:main Jul 21, 2025
1 check was pending
@github-project-automation github-project-automation bot moved this from Todo to Done in CCCL Jul 21, 2025
Copy link

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

@vyasr vyasr deleted the fix/getptr_doc branch July 23, 2025 14:59
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 documentation Improvements or additions to documentation P1 Medium priority - Should do
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants