next up previous
Next: Communication Primitive: COMBINE Up: Communication Library Primitives Previous: Communication Primitive: PREFIX

Communication Primitive: REDUCE

The REDUCE Communication Primitive takes a shared input array and an associative operator , and on a single processor, returns the value of , where uses the associative operation . We implement this primitive by calling PREFIX with the array A and the operation . Instead of using all p prefix-sums, only the value of is returned. The BDM model complexity analysis is identical to Eq. (5).



next up previous
Next: Communication Primitive: COMBINE Up: Communication Library Primitives Previous: Communication Primitive: PREFIX



David A. Bader
dbader@umiacs.umd.edu