Repository navigation
refactor the starts_on algorithm for shorter symbol length - #5088
Merged
Merged
Conversation
…form for the stream bulk senders
Contributor
|
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. |
ericniebler
force-pushed
the
refactor-starts-on
branch
2 times, most recently
from
June 29, 2025 00:24
3884514 to
781649c
Compare
Contributor
Author
|
/ok to test 781649c |
Contributor
🟨 CI finished in 16m 06s: Pass: 81%/32 | Total: 2h 51m | Avg: 5m 21s | Max: 11m 49s | Hits: 99%/13556
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| CCCL Packaging | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| +/- | CCCL Packaging |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 32)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 6 | linux-amd64-gpu-rtx2080-latest-1 |
| 4 | windows-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 1 | linux-amd64-gpu-h100-latest-1 |
ericniebler
force-pushed
the
refactor-starts-on
branch
from
June 29, 2025 00:53
781649c to
71c474f
Compare
Contributor
Author
|
/ok to test 71c474f |
Contributor
🟩 CI finished in 15m 44s: Pass: 100%/32 | Total: 2h 52m | Avg: 5m 23s | Max: 12m 08s | Hits: 99%/16050
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| CCCL Packaging | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| +/- | CCCL Packaging |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 32)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 6 | linux-amd64-gpu-rtx2080-latest-1 |
| 4 | windows-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 1 | linux-amd64-gpu-h100-latest-1 |
miscco
approved these changes
Jun 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
this pr is a continuation of the work done in #5065 to reduce symbol length for complicated sender expressions. symbol length explodes when receiver types depend on sender types, causing the (already long) sender symbol to appear twice in the type of the resulting operation state. #5065 refactored the algorithms so that the receivers do not depend on the types of the sender.
that pr did not refactor the
starts_onalgorithm because the type of thestarts_onreceiver necessarily depends on the type of the child sender since it (the receiver) must start the child operation.this pr removes that dependency by adding an indirection through a function pointer. the receiver calls through a pointer to a function that knows the type of the child operation and can start it.
in addition to refactoring the
starts_onalgorithm, this pr:starts_onget_domain[_override]queries to decay their return type (fixing a bug exposed by the newstarts_ontests)__sch_env_tout of thestarts_onimplementation toenv.cuhwhere it can be reusedstarts_on(sch, sndr)sender aget_domain_overrideattribute that returns the domain of the scheduler,sch, as per P3718R0. that forcesconnectto use the scheduler's domain to find a sender transform.a note for reviewers: the first commit in this pr is the subject of #5087. for this pr, only the commit(s) after the first are relevant.
Checklist