ParallelScanBody#
[req.parallel_scan]
A type Body satisfies ParallelScanBody if it meets the following requirements:
ParallelScanBody Requirements: Pseudo-Signature, Semantics
-
void Body::operator()(const Range &r, pre_scan_tag)#
Accumulates summary for range
r. For example, when computing a running sum of an array, the summary for a rangeris the sum of the array elements corresponding tor.
-
void Body::operator()(const Range &r, final_scan_tag)#
Computes scan result and summary for range
r.
-
void Body::reverse_join(Body &b)#
Merges the summary accumulated by
binto the summary accumulated bythis, wherethiswas created earlier frombby splitting constructor.
-
void Body::assign(Body &b)#
Assigns summary of
btothis.
See also: