Repository navigation
Add memcpy_async transform kernel for Ampere - #2394
Merged
Merged
Conversation
bernhardmgruber
force-pushed
the
transform_A100
branch
2 times, most recently
from
September 9, 2024 16:42
87cb4fc to
1d601b1
Compare
Contributor
Author
|
bernhardmgruber
force-pushed
the
transform_A100
branch
2 times, most recently
from
November 4, 2024 09:51
46efb68 to
66943b4
Compare
Contributor
🟨 CI finished in 1h 32m: Pass: 81%/222 | Total: 23h 21m | Avg: 6m 18s | Max: 26m 03s | Hits: 99%/14639
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| +/- | CUB |
| Thrust | |
| CUDA Experimental | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| libcu++ | |
| +/- | CUB |
| +/- | Thrust |
| CUDA Experimental | |
| +/- | python |
| +/- | CCCL C Parallel Library |
| +/- | Catch2Helper |
🏃 Runner counts (total jobs: 222)
| # | Runner |
|---|---|
| 184 | linux-amd64-cpu16 |
| 16 | linux-arm64-cpu16 |
| 13 | linux-amd64-gpu-v100-latest-1 |
| 9 | windows-amd64-cpu16 |
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 5, 2025 11:22
66943b4 to
42b46c3
Compare
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. |
Contributor
Author
|
/ok to test 42b46c3 |
miscco
requested changes
Jun 5, 2025
Contributor
🟨 CI finished in 1h 43m: Pass: 93%/142 | Total: 3d 04h | Avg: 32m 14s | Max: 1h 23m | Hits: 80%/153292
|
| 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: 142)
| # | Runner |
|---|---|
| 95 | linux-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | windows-amd64-cpu16 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 4 | linux-amd64-gpu-h100-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 5, 2025 19:02
deeac82 to
28981c2
Compare
bernhardmgruber
marked this pull request as ready for review
June 5, 2025 19:04
Contributor
🟨 CI finished in 4h 41m: Pass: 81%/142 | Total: 3d 06h | Avg: 33m 02s | Max: 2h 49m | Hits: 78%/113098
|
| 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: 142)
| # | Runner |
|---|---|
| 95 | linux-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | windows-amd64-cpu16 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 4 | linux-amd64-gpu-h100-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 6, 2025 14:13
28981c2 to
ba94284
Compare
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 6, 2025 15:40
1d69097 to
061ce33
Compare
bernhardmgruber
commented
Jun 6, 2025
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 6, 2025 18:47
061ce33 to
0e5e2e6
Compare
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 17, 2025 13:25
258a162 to
ab840cf
Compare
Contributor
🟩 CI finished in 2h 03m: Pass: 100%/138 | Total: 3d 12h | Avg: 36m 54s | Max: 1h 49m | Hits: 61%/163066
|
| 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: 138)
| # | Runner |
|---|---|
| 91 | linux-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | windows-amd64-cpu16 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 4 | linux-amd64-gpu-h100-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
Contributor
🟩 CI finished in 1h 50m: Pass: 100%/138 | Total: 3d 08h | Avg: 35m 10s | Max: 1h 18m | Hits: 68%/163066
|
| 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: 138)
| # | Runner |
|---|---|
| 91 | linux-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | windows-amd64-cpu16 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 4 | linux-amd64-gpu-h100-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 18, 2025 23:40
671e7e3 to
71c5b1a
Compare
Contributor
🟩 CI finished in 3h 09m: Pass: 100%/153 | Total: 3d 13h | Avg: 33m 20s | Max: 1h 18m | Hits: 78%/173048
|
| 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: 153)
| # | Runner |
|---|---|
| 93 | linux-amd64-cpu16 |
| 17 | windows-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | linux-amd64-gpu-h100-latest-1 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
miscco
approved these changes
Jun 24, 2025
4 tasks done
fbusato
reviewed
Jun 24, 2025
| constexpr int block_threads = BulkCopyPolicy::block_threads; | ||
| const int tile_stride = block_threads * num_elem_per_thread; | ||
| const Offset offset = static_cast<Offset>(blockIdx.x) * tile_stride; | ||
| const int tile_size = (::cuda::std::min)(num_items - offset, Offset{tile_stride}); |
Contributor
There was a problem hiding this comment.
(stylist) I prefer macro namespace _CUDA_VSTD and _CUDA_VPTX in general because they are shorter but up to you
Contributor
Author
There was a problem hiding this comment.
I know. We should be consistent though and for now CUB/Thrust mostly use ::cuda::std. We can discuss refactoring this more broadly in the future.
bernhardmgruber
force-pushed
the
transform_A100
branch
from
June 24, 2025 23:30
b0e742c to
191a7f1
Compare
Contributor
🟩 CI finished in 2h 19m: Pass: 100%/153 | Total: 3d 15h | Avg: 34m 07s | Max: 1h 41m | Hits: 77%/173216
|
| 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: 153)
| # | Runner |
|---|---|
| 93 | linux-amd64-cpu16 |
| 17 | windows-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | linux-amd64-gpu-h100-latest-1 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
Contributor
Author
|
Merging this now, since I have a lot of work depending on this. @gevtushenko let me know if there are any remaining comments. I will address those in a future PR. |
gevtushenko
reviewed
Jun 26, 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.
This PR adds a transform kernel using
cg::memcpy_asynctargetting Ampere GPUs tocub::DeviceTransform.Fixes: #2361
Benchmark on A100 80GB PCIe (showing diff vs. prefetch)