You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEA]: Design Guarantees API for Segmented Problems #6620
In the example above, user requres run-to-run determinism and algorithm guarantees it.
On the implementation side, we sometimes need this relationship reversed. We want an algorithm to require something and user to guarantee that. For instance, we have multiple implementations of segmented reduction. Some implementations require max segment size to be less than a certain value. If we had an interface that allows user to guarantee max segment size, we'd be able to dispatch to optimal algorithm implementation.
Describe the solution you'd like
Design gaurantees API:
cuda::execution::guarantee(max seg size < 42);
Add cuda::execution::guarantee
Design max segment size guarantee
Leverage guarantees API to optimize segmented reduce
Activity
[-][FEA]: Design Guarantees API[/-][+][FEA]: Design Guarantees API for Segmented Problems[/+]gevtushenko commentedon Feb 5, 2026
Closing in favor of #7495