Skip to content

Forward-merge release/26.10 into main - #8582

Merged
GPUtester merged 1 commit into
mainfrom
release/26.10
Sep 9, 2026
Merged

Forward-merge release/26.10 into main#8582
GPUtester merged 1 commit into
mainfrom
release/26.10

Conversation

@rapids-bot

@rapids-bot rapids-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Forward-merge triggered by push to release/26.10 that creates a PR to keep main up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

…8529)

## Summary

Track the coordinated migration of stream APIs and call sites from `rmm::cuda_stream_view` to CCCL's `cuda::stream_ref`. This propagates `cuda::stream_ref` through RMM containers and memory resources, RAFT resource and handle APIs, downstream C++ interfaces, Python/Cython bindings, benchmarks, tests, and documentation.

This migrates affected cuML C++ and Python/Cython stream interfaces and adapts CUDA, Thrust, RAFT legacy, and cuML raw-stream boundaries.

Depends on rapidsai/rmm#2372 and NVIDIA/raft#3129.

Tracked in rapidsai/build-planning#318.

## Migrations

- Pass `cuda::stream_ref` through stream pools, resource accessors, conditionals, and downstream APIs without converting to `rmm::cuda_stream_view`
- Use `cuda::stream_ref` constructions for default/legacy/per-thread streams
  - `rmm::cuda_stream_default` ➡️ `cuda::stream_ref{cudaStream_t{cudaStreamDefault}}`
  - `rmm::cuda_stream_legacy` ➡️ `cuda::stream_ref{cudaStreamLegacy}`
  - `rmm::cuda_stream_per_thread` ➡️ `cuda::stream_ref{cudaStreamPerThread}`
- Use `.get()` when calling an API that requires a raw `cudaStream_t`, including CUDA runtime, library, CUB, and legacy API boundaries (previously `rmm::cuda_stream_view` used `value()`)
- Use `.sync()` when synchronizing a `cuda::stream_ref` (previously `rmm::cuda_stream_view` used `synchronize()`)
- Update Cython declarations and call sites to pass stream references directly where supported

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

Approvers:
  - Philip Hyunsu Cho (https://github.com/chyunsu3)
  - Simon Adorf (https://github.com/csadorf)

URL: #8529
@rapids-bot
rapids-bot Bot requested review from a team as code owners September 9, 2026 10:00
@rapids-bot
rapids-bot Bot requested a review from jcrist September 9, 2026 10:00
@GPUtester
GPUtester merged commit b5717b6 into main Sep 9, 2026
@rapids-bot

rapids-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

SUCCESS - forward-merge complete.

@github-actions github-actions Bot added Cython / Python Cython or Python issue CUDA/C++ labels Sep 9, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants