Skip to content

Conversation

pciolkosz
Copy link
Contributor

This PR adds operator= to the experimental [synchronous_]resource_ref which rebinds the reference. The previous implementation that is currently in libcu++ supported it and RMM requested we should support the assignment.

We discussed this in the past and decided to implement the assignment in the resource wrappers, not in basic_any

Testing for the assignment is very light, because I will be moving the type erased wrappers to libcu++ soon and there is more testing for resource_ref assignment implemented there

@pciolkosz pciolkosz requested a review from a team as a code owner October 15, 2025 00:36
@github-project-automation github-project-automation bot moved this to Todo in CCCL Oct 15, 2025
@pciolkosz pciolkosz changed the title Add assignment operator that rebinds resource_ref [CUDAX] Add assignment operator that rebinds resource_ref Oct 15, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Oct 15, 2025

This comment has been minimized.

Copy link
Contributor

🥳 CI Workflow Results

🟩 Finished in 4h 08m: Pass: 100%/42 | Total: 8h 41m | Max: 43m 53s | Hits: 82%/21364

See results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants