Skip to content

Make a few memory management objects public #693

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

leofang
Copy link
Member

@leofang leofang commented Jun 7, 2025

Description

closes #596.

  • Buffer and MemoryResource are already public (ex: returned by Device.memory_resource.allocate()). We just expose them under the cuda.core namespace for documentation purposes (Doc: Document cuda.core public (but non-entry-point) objects #601)
  • The names DeviceMemoryResource and LegacyPinnedMemoryResource follow the cccl-rt/cudax counterparts.

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 Jun 7, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@leofang leofang added this to the cuda.core beta 4 milestone Jun 7, 2025
@leofang
Copy link
Member Author

leofang commented Jun 7, 2025

/ok to test a6387a0

@leofang leofang self-assigned this Jun 7, 2025
@leofang leofang added P1 Medium priority - Should do feature New feature or request cuda.core Everything related to the cuda.core module labels Jun 7, 2025
Copy link

github-actions bot commented Jun 7, 2025

@leofang leofang marked this pull request as draft June 7, 2025 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.core Everything related to the cuda.core module feature New feature or request P1 Medium priority - Should do
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Expose pinned memory resource as public API
1 participant