Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accelerator-awareness to most allreduce implementations #12611

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devreal
Copy link
Contributor

@devreal devreal commented Jun 10, 2024

This is the fifth patch based on #12318 and introduces accelerator-awareness for the most of the allreduce implementations in coll/base. There were changes introduced to ompi_coll_base_allreduce_intra_allgather_reduce, which led to conflicts. These implementations will still need to be adapted.

This PR relies on the following PRs:

Adding accelerator-awareness requires allocation of temporary memory on the a device selected based on the input buffer (possibly cached by the allocator) and reintroduces the use of 3buff reductions to combine copy and operator application. This change also improves performance on CPU for larger operations. Where possible

Adding accelerator-awareness requires allocation of temporary memory
on the a device selected based on the input buffer
(possibly cached by the allocator) and reintroduces
the use of 3buff reductions to combine copy and operator application.
This change also improves performance on CPU for larger operations.
Where possible

Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant