Skip to content

Store any_resource in device_uvector_policy#2917

Closed
bdice wants to merge 2 commits intorapidsai:mainfrom
bdice:any-resource
Closed

Store any_resource in device_uvector_policy#2917
bdice wants to merge 2 commits intorapidsai:mainfrom
bdice:any-resource

Conversation

@bdice
Copy link
Copy Markdown
Contributor

@bdice bdice commented Jan 8, 2026

Part of rapidsai/rmm#2011.

Depends on rapidsai/rmm#2200.

Change device_uvector_policy::mr_ from device_async_resource_ref to cuda::mr::any_resource<cuda::mr::device_accessible>.

This ensures the container policy owns its memory resource, preventing use-after-free if the original resource is destroyed while the policy still exists.

Change device_uvector_policy::mr_ from device_async_resource_ref to
cuda::mr::any_resource<cuda::mr::device_accessible>.

This ensures the container policy owns its memory resource, preventing
use-after-free if the original resource is destroyed while the policy
still exists.
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Jan 8, 2026

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.

@bdice bdice marked this pull request as ready for review January 10, 2026 15:10
@bdice bdice requested a review from a team as a code owner January 10, 2026 15:10
@bdice bdice added feature request New feature or request non-breaking Non-breaking change labels Jan 10, 2026
@cjnolet cjnolet moved this from Todo to In Progress in Unstructured Data Processing Mar 24, 2026
@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented Apr 3, 2026

Closing — superseded by #2996, which includes this change as part of the full RMM CCCL memory resource migration (rapidsai/rmm#2011).

@bdice bdice closed this Apr 3, 2026
@github-project-automation github-project-automation bot moved this from In Progress to Done in Unstructured Data Processing Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request non-breaking Non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants