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

MPI compliant custom reductions #8

Open
patflick opened this issue Mar 24, 2016 · 0 comments
Open

MPI compliant custom reductions #8

patflick opened this issue Mar 24, 2016 · 0 comments

Comments

@patflick
Copy link
Owner

See here: open-mpi/ompi#1462

Two options really:

  1. Use MPI_Pack/Unpack for MPI compliant copying of the in/inout buffers inside the custom reduction operation.
  2. Or use MPI_Type_get_envelope and manually copy over each member as they appear in the MPI datatype. I could also cache the envelope information myself inside the mxx::datatype and provide a MPI_Datatype safe copy operation in that class (e.g. copy member by member).
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

No branches or pull requests

1 participant