mpiwg-rma / rma-issues

Repository to discuss internal RMA working group issues
1 stars 0 forks source link

Simple RMA accumulate usage hint #26

Closed devreal closed 4 months ago

devreal commented 1 year ago

Here is a proposal for a simplified info key to allow applications to express their accumulate usage preference. Some applications may require high throughput for a large number of elements in a single MPI_Accumulate call and can tolerate the dependence on progress at the target while others may rely on single (or small number of) element accumulates with a focus on latency and not relying on progress at the target. The boundary between the two choices is fluent but few applications are likely operating close to that threshold.

The "mpi_accumulate_preference” key has two options:

The meaning of "small" and "large" is implementation- (and likely platform-)specific where the threshold is. Many applications using "latency" will likely update up to a handful of elements in a call to MPI_Accumulate (or just a single element).

devreal commented 4 months ago

This has been adopted in MPI 4.1.