First page Back Continue Last page Graphics
Reduction
Apply a single operation (add, max, min, ...) to data items scattered across many processors
Collect the result in one place
Reduce x across all elements
- contribute(sizeof(x), &x, CkReduction::sum_int);
Must create and register a callback function that will receive the final value, in main chare