Skip to content

Asynchronously schedule halo exchange with communication_object#186

Closed
msimberg wants to merge 5 commits intoghex-org:masterfrom
msimberg:async-mpi
Closed

Asynchronously schedule halo exchange with communication_object#186
msimberg wants to merge 5 commits intoghex-org:masterfrom
msimberg:async-mpi

Conversation

@msimberg
Copy link
Contributor

@msimberg msimberg commented Nov 3, 2025

Like #185, this is a testing branch, nowhere near ready for merging.

This branch allows removing a cudaDeviceSynchronize before starting a halo exchange with GHEX. This implicitly assumes that all fields depend on the default stream. Likewise for wait, this branch removes the device/stream synchronization and instead just adds a dependency to the default stream on the unpacking streams.

This is meant to evolve into something where the communication_object API explicitly allows opting into the above behaviour, instead of relying on implicit assumptions.

This is also based on #184 and #182.

@msimberg msimberg changed the title Asynchronously schedule MPI halo exchange Asynchronously schedule halo exchange with communication_object Nov 3, 2025
@msimberg
Copy link
Contributor Author

#190 replaces this with a more explicit and cleaner solution. However, I'm leaving this branch around.

@msimberg msimberg closed this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant