Skip to content

[EPIC] Design a public tuning API for CUB #6368

Closed

Description

@bernhardmgruber

Background: CUB internally uses tunings to pick parameters for a given workload and GPU architecture. Some users exploit this mechanism and provide their own tunings, attempting to get even better performance than CUB, which is reasonable in case they know more about their workload than what CUB was tuned for. However, this either requires calling internal APIs or calling the CUB dispatch layer instead of the device API entry points. This is one reason why we have not moved the dispatch layer into a detail namespace.

We should have a well defined public API that our users and we ourselves can use to specify tunings for CUB algorithms.

Activity

  1. marked User-defined tuning #5552 as a duplicate of this issue on Nov 21, 2025
  2. bernhardmgruber commented on Jan 23, 2026

    @bernhardmgruber
    ContributorAuthor

    All prototyping and design tasks around the tuning API have concluded. Future progress of the CUB-wide roll out is tracked in #7165

  3. moved this from Todo to Done in CCCLon Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions