Skip to content

Use CCCL memory resource aliases directly - #8715

Draft
bdice wants to merge 4 commits into
NVIDIA:mainfrom
bdice:cuml-resource-ref-aliases
Draft

bdice wants to merge 4 commits into
NVIDIA:mainfrom
bdice:cuml-resource-ref-aliases

Conversation

@bdice

@bdice bdice commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Use cuda::mr::device_resource_ref directly in cuML instead of rmm::device_async_resource_ref. Include <cuda/memory_resource> at the use sites; no cuML alias or cuml/common/resource_ref.hpp header is introduced.

Use the cuda::mr::any_device_resource binding when UMAP constructs an RMM device buffer, using the declaration provided by rapidsai/rmm#2563.

The underlying types, allocation behavior, and ABI are unchanged. Keep direct <rmm/mr/per_device_resource.hpp> includes where RMM's current-device resource accessor is used.

Requires NVIDIA/cccl#11751, included by rapidsai/rapids-cmake#1097. Part of rapidsai/build-planning#337.

The type substitutions are mechanical; the diff was reviewed and linted. Build verification follows the draft push; tests are not being run for this update.

@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 29, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 29, 2026

Copy link
Copy Markdown

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 force-pushed the cuml-resource-ref-aliases branch from 9634ea0 to 8fbac5d Compare October 2, 2026 14:25
@bdice bdice changed the title Define ML::device_resource_ref over CCCL resource_ref type Use CCCL device_resource_ref directly Oct 2, 2026
@bdice bdice changed the title Use CCCL device_resource_ref directly Use CCCL memory resource aliases directly Oct 2, 2026
@github-actions github-actions Bot added the Cython / Python Cython or Python issue label Oct 2, 2026
@bdice
bdice force-pushed the cuml-resource-ref-aliases branch from 0fd05ae to cb00067 Compare October 4, 2026 13:46
@bdice
bdice force-pushed the cuml-resource-ref-aliases branch from cb00067 to ae3887a Compare October 9, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CUDA/C++ Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant