next up previous
Next: An Example p4 Program Up: General Capabilities Previous: Miscellaneous Functions

   
Collective Operations

p4 provides a number of collective operations, particularly useful in the distributed-memory model. p4_global_op takes as one of its arguments an operation to be performed on distributed data. It is thus relatively easy to expand the set of collective operations. Currently supplied are maximum, minimum, absolute-value-maximum, absolute-value-minimum, sum, and product. Each operates on a vector of integers, floats, or doubles.



Karen D. Toonen
1998-11-19