[mpiwg-rma] Atomicity and Pair Types
Jim Dinan
james.dinan at gmail.com
Wed Sep 12 15:49:37 CDT 2018
Hi All,
Sanity check --- my reading of the spec. indicates that accumulate
operations performed on pair types guarantee atomicity at the level of the
whole pair type. Here are the relevant passages:
Section 11.7.1: The outcome of concurrent accumulate operations to the same
location with the same *predefined* datatype is as if the accumulates were
done at that location in some serial order.
Section 5.9.4: In order to use MPI_MINLOC and MPI_MAXLOC in a reduce
operation, one must provide a datatype argument that represents a pair
(value and index). MPI provides nine such *predefined* datatypes.
Is that right?
Thanks,
~Jim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-rma/attachments/20180912/2e742c38/attachment.html>
More information about the mpiwg-rma
mailing list