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 #5853

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

harrism
Copy link
Member

@harrism harrism commented Apr 18, 2024

Closes #5839

Replaces all occurrences of rmm::mr::device_memory_resource* in parameters with rmm::device_async_resource_ref. Also updates calls to raw resource->allocate() to use resource_ref.allocate_async() with default alignment argument. Same for deallocate().

Ideally would replace these with device_uvector / device_buffer but that is outside scope of this PR. See #5852

@harrism harrism requested a review from a team as a code owner April 18, 2024 04:24
@harrism harrism added the non-breaking Non-breaking change label Apr 18, 2024
@harrism harrism added improvement Improvement / enhancement to an existing function and removed CUDA/C++ labels Apr 18, 2024
@dantegd
Copy link
Member

dantegd commented Apr 22, 2024

/merge

@rapids-bot rapids-bot bot merged commit b5309dc into rapidsai:branch-24.06 Apr 22, 2024
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Replace device_memory_resource* with device_async_resource_ref
4 participants