MCPcopy Create free account
hub / github.com/boostorg/compute / Sum

Method Sum

perf/perf_tbb_accumulate.cpp:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27struct Sum {
28 T value;
29 Sum() : value(0) {}
30 Sum( Sum& s, tbb::split ) {value = 0;}
31 void operator()( const tbb::blocked_range<T*>& r ) {
32 T temp = value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected