Skip to content

Remove deprecated is_resource_adaptor - #2420

Merged
rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:remove-is-resource-adaptor
May 28, 2026
Merged

rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:remove-is-resource-adaptor

Conversation

@bdice

@bdice bdice commented May 27, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Follow-up to #2388. Part of #2011.

Removes the deprecated rmm::mr::is_resource_adaptor header after internal usage was removed in #2388.

Checklist

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

@bdice
bdice requested a review from a team as a code owner May 27, 2026 18:59
@bdice
bdice requested review from davidwendt and rongou May 27, 2026 18:59

@davidwendt davidwendt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

awesome

@coderabbitai

coderabbitai Bot commented May 27, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR removes the deprecated is_resource_adaptor variable template trait by deleting its header file cpp/include/rmm/mr/is_resource_adaptor.hpp. The trait, which detected adaptor-like resource types via get_upstream_resource() member detection, is no longer part of the public API.

Changes

Cohort / File(s) Summary
Deprecated trait removal
cpp/include/rmm/mr/is_resource_adaptor.hpp
File deleted. Removes the deprecated is_resource_adaptor variable template and its SFINAE specialization for detecting upstream resource adaptors (40 lines removed).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • rapidsai/rmm#2388: Previously deprecated the is_resource_adaptor trait; this PR completes the removal.

Suggested labels

breaking, improvement

Suggested reviewers

  • vyasr
  • lamarrr
  • davidwendt
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: removal of the deprecated is_resource_adaptor header.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly references the changeset, explaining that it removes a deprecated header after prior internal usage removal.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@bdice bdice moved this to In Progress in RMM Project Board May 28, 2026
@bdice bdice added breaking Breaking change improvement Improvement / enhancement to an existing function labels May 28, 2026
@bdice bdice self-assigned this May 28, 2026
@bdice

bdice commented May 28, 2026

Copy link
Copy Markdown
Collaborator Author

/merge

@rapids-bot
rapids-bot Bot merged commit a45b3b9 into rapidsai:main May 28, 2026
41 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in RMM Project Board May 28, 2026
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants