Skip to content

Conversation

@bernhardmgruber
Copy link
Contributor

@bernhardmgruber bernhardmgruber commented Jan 15, 2026

Backport of #7239

Fixes NVBug 5813928

bernhardmgruber and others added 2 commits January 16, 2026 00:16
NVIDIA#6204 changed cub::DeviceTransform APIs from taking cudaStream_t to environments. Special handling preserved support for cudaStream_t. However, user-provided stream types with conversion operators to cudaStream_t were now queried as environments, failing to return a stream.
We should not have a special overload for the `get_stream` overload but should ensure that we can pass types that are convertible to `::cudaStream_t` and extract that stream

I have expanded the get_stream CPO to accept a `::cudaStream_t __stream` so that we can work with those types
@bernhardmgruber bernhardmgruber requested review from a team as code owners January 15, 2026 23:17
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 15, 2026
@bernhardmgruber bernhardmgruber changed the title Fix extracting CUDA stream in cub::DeviceTransform [Backport to 3.2] Fix extracting CUDA stream in cub::DeviceTransform Jan 15, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 15, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@bernhardmgruber bernhardmgruber enabled auto-merge (squash) January 16, 2026 15:21
@github-actions
Copy link
Contributor

🥳 CI Workflow Results

🟩 Finished in 5h 55m: Pass: 100%/134 | Total: 5d 13h | Max: 5h 54m | Hits: 89%/269916

See results here.

@bernhardmgruber bernhardmgruber merged commit a123502 into NVIDIA:branch/3.2.x Jan 16, 2026
147 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Jan 16, 2026
@bernhardmgruber bernhardmgruber deleted the backport_fix_transform_stream branch January 16, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants