Skip to content

[Backport branch/3.2.x] Add accessor methods to shared_resource<T> - #7322

Merged
miscco merged 2 commits into
branch/3.2.xfrom
backport-7315-to-branch/3.2.x
Jan 23, 2026
Merged

[Backport branch/3.2.x] Add accessor methods to shared_resource<T>#7322
miscco merged 2 commits into
branch/3.2.xfrom
backport-7315-to-branch/3.2.x

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Backport of #7315 to branch/3.2.x.

Add get(), operator->(), and operator*() to shared_resource<T> to allow
access to the underlying resource. This enables use cases where methods
of the wrapped resource need to be called.

Resolves #7313

(cherry picked from commit c28ad43)
@copy-pr-bot

copy-pr-bot Bot commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

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.

@miscco

miscco commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

/ok to test aa32121

@github-project-automation github-project-automation Bot moved this from Todo to In Review in CCCL Jan 22, 2026
@github-actions

This comment has been minimized.

@wmaxey wmaxey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Blocking until we finish the release.

@github-project-automation github-project-automation Bot moved this from In Review to In Progress in CCCL Jan 22, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to In Review in CCCL Jan 23, 2026
@github-actions

This comment has been minimized.

@bernhardmgruber

Copy link
Copy Markdown
Contributor

/ok to test b9511e6

@github-actions

Copy link
Copy Markdown
Contributor Author

🥳 CI Workflow Results

🟩 Finished in 1h 42m: Pass: 100%/90 | Total: 1d 22h | Max: 1h 37m | Hits: 91%/217236

See results here.

@miscco
miscco merged commit 2b3df42 into branch/3.2.x Jan 23, 2026
102 checks passed
@miscco
miscco deleted the backport-7315-to-branch/3.2.x branch January 23, 2026 09:58
@github-project-automation github-project-automation Bot moved this from In Review to Done in CCCL Jan 23, 2026
rapids-bot Bot pushed a commit to rapidsai/rapids-cmake that referenced this pull request Feb 3, 2026
This PR updates CCCL to a pre-release of v3.2.1.

We need these backported fixes:
- NVIDIA/cccl#7421 to fix RMM debug builds -- needed for rapidsai/rmm#2233
- NVIDIA/cccl#7322 to add accessor methods to `shared_resource<T>` -- needed for rapidsai/rmm#2011

Comparison of CCCL commits: NVIDIA/cccl@477f8bc...d25959c

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants