ParallelScanFunc¶
[req.parallel_scan_func]
A type Scan satisfies the ParallelScanFunc if it meets the following requirements:
ParallelScanFunc Requirements: Pseudo-Signature, Semantics
-
Value
Scan
::
operator()
(const Range &r, const Value &sum, bool is_final) const¶ Starting with
sum
, compute the summary and, foris_final == true
, the scan result for ranger
. Return the computed summary.Value
type must be the same as a corresponding template parameter forparallel_scan
algorithm.