Lines Matching refs:identity
88 T AssociativeReduce( const T* first, const T* last, T identity ) {
93 identity,
121 T CombineReduce( const T* first, const T* last, T identity ) {
122 oneapi::tbb::combinable<T> sum(identity);
126 sum.local() += std::accumulate(r.begin(), r.end(), identity);
154 T RepeatableReduce( const T* first, const T* last, T identity ) {
157 return std::accumulate( first, last, identity );
163 [&]{left=RepeatableReduce(first,mid,identity);},
164 [&]{right=RepeatableReduce(mid,last,identity);}
190 T RepeatableReduce( const T* first, const T* last, T identity ) {
195 identity,