[mpiwg-rma] Atomicity and Pair Types
james.dinan at gmail.com
Wed Sep 12 15:49:37 CDT 2018
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mpiwg-rma