Parallel Reduce Overloads for DeviceVector#5516
Merged
WeiqunZhang merged 4 commits intoJun 27, 2026
Merged
Conversation
Adds a new header `AMReX_GpuParallelReduce.H` which GPU-overloaded and support for MPIs with and without GPU-awareness (GPU-pointer support) in a safe manner. Added to prevent common usage bugs like BLAST-ImpactX/impactx#1532
e0d658c to
67654d7
Compare
Member
Author
|
/run-hpsf-gitlab-ci |
|
GitLab CI has started at https://gitlab.spack.io/amrex/amrex/-/pipelines/1664602. |
67654d7 to
0538ff4
Compare
|
GitLab CI 1664602 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1664602. |
Member
Author
|
Unrelated test failure in |
5 tasks
WeiqunZhang
requested changes
Jun 26, 2026
WeiqunZhang
reviewed
Jun 26, 2026
ax3l
commented
Jun 26, 2026
Member
Author
|
/run-hpsf-gitlab-ci |
|
GitLab CI has started at https://gitlab.spack.io/amrex/amrex/-/pipelines/1665058. |
ax3l
commented
Jun 26, 2026
c24bb3f to
379d038
Compare
|
GitLab CI 1665058 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1665058. |
WeiqunZhang
approved these changes
Jun 27, 2026
ax3l
added a commit
to ax3l/impactx
that referenced
this pull request
Jun 27, 2026
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.
Summary
Adds a new header
AMReX_GpuParallelReduce.Hwhich GPU-overloaded and support for MPIs with and without GPU-awareness (GPU-pointer support) in a safe manner.Additional background
Added to prevent common usage bugs like
BLAST-ImpactX/impactx#1532
Checklist
The proposed changes: