Repository navigation
Conversation
|
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. |
11 tasks
bdice
force-pushed
the
raft-resource-ref-aliases
branch
from
October 2, 2026 14:25
27ef5d2 to
16558d0
Compare
bdice
force-pushed
the
raft-resource-ref-aliases
branch
from
October 9, 2026 22:22
20dcb0d to
a4975a7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use CCCL's
cuda::mr::device_resource_ref,host_device_resource_ref,any_device_resource, andany_host_device_resourcedirectly instead of RMM/RAFT aliases. Deprecate the corresponding existing RAFT aliases in favor of the CCCL names; no new stream-ordered aliases are introduced in RAFT.Pinned and managed resource APIs now require the stream-ordered interface rather than erasing resources as synchronous-only. Adapt the existing CCCL legacy defaults with
cuda::mr::synchronous_resource_adapter, preserving their allocation behavior while exposing stream-ordered allocation/deallocation. Update the container policies and tracking adaptors to carry the new reference type. Host containers still allocate synchronously for immediate CPU access.API impact: pinned/managed setter and getter types change. Custom synchronous-only resources must be wrapped in
cuda::mr::synchronous_resource_adapter; async-capable resources can be passed directly. The deprecatedraft::mr::host_device_resourceandhost_device_resource_refaliases now name the stream-ordered CCCL types.Host-only PMR/mmap resources remain synchronous. Keep
raft::mr::synchronous_host_resource_refand deprecate the ambiguousraft::mr::host_resource_refname. The synchronous host-only owning alias remains unchanged.Requires NVIDIA/cccl#11751, available through rapidsai/rapids-cmake#1097. Part of rapidsai/build-planning#337.