Repository navigation
replace the simplistic eager customization mechanism with proper apply/transform_sender - #4657
Merged
ericniebler merged 1 commit intoMay 9, 2025
Conversation
Contributor
🟥 CI finished in 14m 10s: Pass: 0%/26 | Total: 1h 29m | Avg: 3m 25s | Max: 11m 42s
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 26)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 2 | windows-amd64-cpu16 |
| 2 | linux-amd64-gpu-rtx2080-latest-1 |
| 1 | linux-amd64-gpu-h100-latest-1 |
ericniebler
force-pushed
the
apply-and-transform-sender-customization
branch
from
May 7, 2025 20:35
8b8f0bb to
7d0faf2
Compare
Contributor
🟨 CI finished in 13m 37s: Pass: 15%/26 | Total: 1h 38m | Avg: 3m 47s | Max: 11m 57s | Hits: 89%/2338
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 26)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 2 | windows-amd64-cpu16 |
| 2 | linux-amd64-gpu-rtx2080-latest-1 |
| 1 | linux-amd64-gpu-h100-latest-1 |
ericniebler
force-pushed
the
apply-and-transform-sender-customization
branch
2 times, most recently
from
May 7, 2025 21:24
4563bad to
8601bbb
Compare
Contributor
🟨 CI finished in 17m 44s: Pass: 92%/26 | Total: 2h 29m | Avg: 5m 44s | Max: 11m 43s | Hits: 91%/14044
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 26)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 2 | windows-amd64-cpu16 |
| 2 | linux-amd64-gpu-rtx2080-latest-1 |
| 1 | linux-amd64-gpu-h100-latest-1 |
ericniebler
force-pushed
the
apply-and-transform-sender-customization
branch
from
May 7, 2025 22:40
8601bbb to
27156e2
Compare
Contributor
🟨 CI finished in 27m 00s: Pass: 92%/26 | Total: 2h 23m | Avg: 5m 30s | Max: 10m 42s | Hits: 93%/14044
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 26)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 2 | windows-amd64-cpu16 |
| 2 | linux-amd64-gpu-rtx2080-latest-1 |
| 1 | linux-amd64-gpu-h100-latest-1 |
…y/transform_sender also, use `transform_sender` in `connect` and `get_completion_signatures` per spec, and replace the domain computation with a more efficient algorithm.
ericniebler
force-pushed
the
apply-and-transform-sender-customization
branch
from
May 7, 2025 23:39
27156e2 to
393fbdd
Compare
Contributor
🟩 CI finished in 51m 41s: Pass: 100%/26 | Total: 2h 27m | Avg: 5m 39s | Max: 12m 18s | Hits: 93%/14616
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| CUB | |
| Thrust | |
| +/- | CUDA Experimental |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
🏃 Runner counts (total jobs: 26)
| # | Runner |
|---|---|
| 17 | linux-amd64-cpu16 |
| 4 | linux-arm64-cpu16 |
| 2 | windows-amd64-cpu16 |
| 2 | linux-amd64-gpu-rtx2080-latest-1 |
| 1 | linux-amd64-gpu-h100-latest-1 |
miscco
reviewed
May 8, 2025
miscco
left a comment
Contributor
There was a problem hiding this comment.
I love this. Its makes a ton of code easier*
- "easier"
| using __dom_t _CCCL_NODEBUG_ALIAS = __transform_domain_t<_Domain, _Sndr, _Env...>; | ||
| using __result_t _CCCL_NODEBUG_ALIAS = __transform_sender_result_t<__dom_t, _Sndr, _Env...>; | ||
|
|
||
| if constexpr (_CUDA_VSTD::_IsSame<__result_t&&, _Sndr&&>::value) |
Contributor
Author
There was a problem hiding this comment.
I want them to compare equal if one is a T and the other is a T&&
Contributor
There was a problem hiding this comment.
So is it explicitly the T and T&& because commonly we use remove_reference_t or remove_cvref_t for that
miscco
approved these changes
May 8, 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
currently ustdex has a rather simplistic dispatch mechanism for finding algorithm customizations that does not handle late customization (at
connecttime). that support will be needed to implement theschedule_fromalgorithm, sincecontinues_onlowers toschedule_fromby default using a late customization hook. andschedule_fromis needed to properly handle transitions to and from the GPU in the stream and graph schedulers (coming!).Checklist