Skip to content
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

Replace rmm::mr::device_memory_resource* with rmm::device_async_resource_ref #1373

Merged
merged 5 commits into from
Apr 18, 2024

Conversation

harrism
Copy link
Member

@harrism harrism commented Apr 17, 2024

Description

Closes #1371

Replaces all occurrences of rmm::mr::device_memory_resource* in parameters with rmm::device_async_resource_ref. Also updates guidance in the DEVELOPER_GUIDE.md

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@harrism harrism added improvement Improvement / enhancement to an existing function breaking Breaking change labels Apr 17, 2024
@harrism harrism requested a review from a team as a code owner April 17, 2024 22:27
@harrism harrism requested review from trxcllnt and isVoid April 17, 2024 22:27
@github-actions github-actions bot added the libcuspatial Relates to the cuSpatial C++ library label Apr 17, 2024
that enables consumers to specify properties of resources that they expect. These are defined
in the `cuda::mr` namespace of libcu++, but RMM provides some convenience wrappers in
`rmm/resource_ref.hpp`:
- `rmm::device_async_resource_ref` accepts a memory resource that provides synchronous allocation
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you mean device_resource_ref here? It looks like a duplicate of below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes typo. Made same error in libcudf.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@trxcllnt
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 76762fc into rapidsai:branch-24.06 Apr 18, 2024
69 checks passed
@harrism harrism deleted the device_async_resource_ref branch August 1, 2024 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement / enhancement to an existing function libcuspatial Relates to the cuSpatial C++ library
Projects
Status: Done
Status: Todo
Development

Successfully merging this pull request may close these issues.

Replace device_memory_resource* with device_async_resource_ref
3 participants