eth-cscs / DLA-Future

DLA-Future
https://eth-cscs.github.io/DLA-Future/master/
BSD 3-Clause "New" or "Revised" License
63 stars 13 forks source link

Use pika's `transform_mpi` in DLA-Future's `transformMPI` #536

Open msimberg opened 2 years ago

msimberg commented 2 years ago

497 removed the MPI executor and replaced it with a custom sender adaptor. Ideally we should be using pika's transform_mpi which uses MPI polling.

albestro commented 2 years ago

573 I imagine we will still need a dlaf wrapper for it, in order to be able to do custom stuff with parameters (e.g. PromiseGuard passing/consuming/unwrapping), right?

msimberg commented 2 years ago

573 I imagine we will still need a dlaf wrapper for it, in order to be able to do custom stuff with parameters (e.g. PromiseGuard passing/consuming/unwrapping), right?

Correct. This issue is about using pika::mpi::experimental::transform_mpi in place of the yield_while that is currently implemented in DLA-Future.