Skip to content

[cub] Simplify arch dispatch - #8861

Merged
davebayer merged 1 commit into
NVIDIA:mainfrom
davebayer:cub_improve_dispatch
May 7, 2026
Merged

davebayer merged 1 commit into
NVIDIA:mainfrom
davebayer:cub_improve_dispatch

Conversation

@davebayer

Copy link
Copy Markdown
Contributor

This PR uses cuda::__target_compute_capabilities function to simplify cub's arch dispatch. I've also added a test for cuda::__target_compute_capabilities, so we are sure it does what we think it should do.

@davebayer
davebayer requested review from a team as code owners May 7, 2026 07:15
@davebayer
davebayer requested review from Jacobfaib and elstehle May 7, 2026 07:15
@github-project-automation github-project-automation Bot moved this to Todo in CCCL May 7, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL May 7, 2026

@bernhardmgruber bernhardmgruber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it!

Comment thread cub/cub/detail/arch_dispatch.cuh Resolved
@davebayer
davebayer enabled auto-merge (squash) May 7, 2026 07:57
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 2h 31m: Pass: 100%/338 | Total: 13d 01h | Max: 2h 31m | Hits: 81%/463191

See results here.

@davebayer
davebayer merged commit bdded36 into NVIDIA:main May 7, 2026
361 checks passed
@davebayer davebayer linked an issue May 11, 2026 that may be closed by this pull request
2 of 3 tasks
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.

Tuning policy selectors should use the compute capability instead of cuda::arch_id

3 participants