Skip to content

[Backport to 3.2] Fix extracting CUDA stream in cub::DeviceTransform - #7263

Merged
bernhardmgruber merged 5 commits into
NVIDIA:branch/3.2.xfrom
bernhardmgruber:backport_fix_transform_stream
Jan 16, 2026
Merged

bernhardmgruber merged 5 commits into
NVIDIA:branch/3.2.xfrom
bernhardmgruber:backport_fix_transform_stream

Conversation

@bernhardmgruber

@bernhardmgruber bernhardmgruber commented Jan 15, 2026 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants