Skip to content

[cudax] Implement composite_mapping for groups#8766

Open
davebayer wants to merge 4 commits intoNVIDIA:mainfrom
davebayer:groups_combined_mapping
Open

[cudax] Implement composite_mapping for groups#8766
davebayer wants to merge 4 commits intoNVIDIA:mainfrom
davebayer:groups_combined_mapping

Conversation

@davebayer
Copy link
Copy Markdown
Contributor

@davebayer davebayer commented Apr 30, 2026

This PR implements cudax::composite_mapping that allows to combine multiple mappings into one. This can allow the user to skip creating intermediate groups and allows much more flexibility. Users are not expected to create the composite_mapping instance directly, but rather by using the pipe operator |. For example:

cudax::group g{cuda::gpu_thread, cuda::this_warp{config}, cudax::group_by<4>{} | cudax::group_as<1, 3>{}, cudax::lane_synchronizer{});

Splits warp into 16 groups of counts 1 or 3.

Depends on #8755

@davebayer davebayer requested a review from a team as a code owner April 30, 2026 16:57
@davebayer davebayer requested a review from andralex April 30, 2026 16:57
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Apr 30, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 43m 11s: Pass: 100%/54 | Total: 5h 59m | Max: 30m 59s | Hits: 97%/31953

See results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant