[Backport branch/3.0.x] [Thrust] Perform asynchronous allocations by default for the par_nosync policy#4483
Merged
brycelelbach merged 1 commit intobranch/3.0.xfrom Apr 18, 2025
Conversation
…ync` policy (#4204) * [Thrust] Perform asynchronous allocations by default for the `par_nosync` policy. This will make algorithms (like scans) that don't have a computation-dependent result but do temporary allocation properly asynchronous under `par_nosync`. * Cleanup * Apply suggestions from code review to `par_nosync` async allocation Co-authored-by: Bernhard Manfred Gruber <bernhardmgruber@gmail.com> * Switch from `reinterpret_pointer_cast` to `raw_pointer_cast` when we're going to `void*`. * [Thrust] Pass a raw pointer instead of a Thrust pointer to `cudaFree`. * Run pre-commit. * [Thrust]: Correct comment on `par_nosync` fallback path. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernhard Manfred Gruber <bernhardmgruber@gmail.com> (cherry picked from commit fbf517d)
Contributor
wmaxey
approved these changes
Apr 16, 2025
Contributor
|
/ok to test |
Contributor
@brycelelbach, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
Contributor
|
/ok to test 6a96cb4 |
Member
|
/ok to test 6a96cb4 |
Contributor
Author
🟩 CI finished in 1h 35m: Pass: 100%/97 | Total: 2d 21h | Avg: 43m 15s | Max: 1h 27m | Hits: 78%/134318
|
| 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: 97)
| # | Runner |
|---|---|
| 68 | linux-amd64-cpu16 |
| 9 | windows-amd64-cpu16 |
| 6 | linux-arm64-cpu16 |
| 6 | linux-amd64-gpu-rtxa6000-latest-1 |
| 3 | linux-amd64-gpu-h100-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
| 2 | linux-amd64-gpu-rtx2080-latest-1 |
jrhemstad
approved these changes
Apr 18, 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
Backport of #4204 to
branch/3.0.x.