Skip to content

Add cuda::execution::guarantee and cuda::execution::segment_size::max_segment_size#6682

Draft
srinivasyadav18 wants to merge 5 commits into
NVIDIA:mainfrom
srinivasyadav18:guarantee_api
Draft

Add cuda::execution::guarantee and cuda::execution::segment_size::max_segment_size#6682
srinivasyadav18 wants to merge 5 commits into
NVIDIA:mainfrom
srinivasyadav18:guarantee_api

Conversation

@srinivasyadav18
Copy link
Copy Markdown
Contributor

@srinivasyadav18 srinivasyadav18 commented Nov 18, 2025

Description

Add cuda::execution::guarantee API and cuda::execution::segment_size::max_segment_size

closes #6620

Checklist

  • Choose proper namespace for max_segment_size
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@srinivasyadav18 srinivasyadav18 requested a review from a team as a code owner November 18, 2025 22:45
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Nov 18, 2025
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Nov 18, 2025
@srinivasyadav18 srinivasyadav18 changed the title Add cuda::execution::guarantee and `cuda::execution::segment_size::max_se Add cuda::execution::guarantee and cuda::execution::segment_size::max_segment_size Nov 18, 2025
Comment thread libcudacxx/include/cuda/__execution/max_segment_size.h Outdated
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread libcudacxx/include/cuda/__execution/max_segment_size.h Outdated
Comment thread libcudacxx/include/cuda/__execution/max_segment_size.h Outdated
Comment thread libcudacxx/include/cuda/__execution/max_segment_size.h
Comment thread libcudacxx/test/libcudacxx/cuda/execution/guarantee.pass.cpp Outdated
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 8, 2026

😬 CI Workflow Results

🟥 Finished in 6h 00m: Pass: 84%/90 | Total: 3d 05h | Max: 6h 00m | Hits: 49%/181251

See results here.

@gevtushenko gevtushenko marked this pull request as draft March 6, 2026 16:04
@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot Bot commented Mar 6, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@cccl-authenticator-app cccl-authenticator-app Bot moved this from In Review to In Progress in CCCL Mar 6, 2026
@gevtushenko
Copy link
Copy Markdown
Collaborator

The max segment size would likely go through the parameter framework that @elstehle is working on. We probably still need guarantee, but for a different use case. We'd like to specify total number of items for segmented problem. Given that this value doesn't describe any parameter and is optional, it feels like part of env.

@elstehle
Copy link
Copy Markdown
Contributor

elstehle commented Jun 5, 2026

Fyi, I have opened #9278 to add a max_total_num_items guarantee. If you could take a look that would greatly be appreciated.

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

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

[FEA]: Design Guarantees API for Segmented Problems

5 participants