Lines Matching refs:last
82 interval [first,last).
88 T AssociativeReduce( const T* first, const T* last, T identity ) {
91 oneapi::tbb::blocked_range<const T*>(first,last),
121 T CombineReduce( const T* first, const T* last, T identity ) {
124 oneapi::tbb::blocked_range<const T*>(first,last),
154 T RepeatableReduce( const T* first, const T* last, T identity ) {
155 if( last-first<=1000 ) {
157 return std::accumulate( first, last, identity );
160 const T* mid = first+(last-first)/2;
164 [&]{right=RepeatableReduce(mid,last,identity);}
190 T RepeatableReduce( const T* first, const T* last, T identity ) {
193 oneapi::tbb::blocked_range<const T*>(first,last,1000),