Open
Description
The current implementation of dash::accumulate
has a flaw: only unit 0 (randomly chosen?) actually receives a valid result. This is neither documented nor does the user have a chance to influence this. I seem to remember that we had a similar discussion at our last F2F. IMO, either the user can choose which unit receives the result or it should be broadcast to all units. At the very least, it has to be documented...
Also, dash::accumulate
should use dart_accumulate
whenever possible.
Discovered while working on #212.