Skip to content

Commit

Permalink
Merge pull request #490 from jdinan/reduction-buf
Browse files Browse the repository at this point in the history
In reductions, src and dest must be same at all PEs
  • Loading branch information
jdinan authored Oct 4, 2023
2 parents 0203a70 + 5ec302d commit 84f33ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/shmem_reductions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,11 @@ \subsubsubsection{PROD}
provides one element for each reduction. The results of the reductions are placed in the
\dest{} array on all \acp{PE} participating in the reduction.

The same \source{} and \dest{} arrays must be passed by all PEs that
participate in the collective.
The \source{} and \dest{} arguments must either be the same symmetric
address, or two different symmetric addresses corresponding to buffers that
do not overlap in memory. That is, they must be completely overlapping or
do not overlap in memory. That is, they must be completely overlapping (sometimes referred to as an ``in place'' reduction) or
completely disjoint.

Team-based reduction routines operate over all \acp{PE} in the provided team argument. All
Expand Down

0 comments on commit 84f33ce

Please sign in to comment.