Home
last modified time | relevance | path

Searched refs:Accumulator (Results 1 – 3 of 3) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_parallel_scan.cpp131 class Accumulator { class
158 Accumulator* self;
159 Accumulator& operator= (const Accumulator& other);
161 Accumulator( T init, const std::vector<T> & array, std::vector<T> & sum ) : in Accumulator() function in Accumulator
167 ~Accumulator() { in ~Accumulator()
171 Accumulator( Accumulator& a, tbb::split ) : in Accumulator() function in Accumulator
191 void reverse_join( const Accumulator& left_body) { in reverse_join()
202 void assign( const Accumulator& other ) { in assign()
316 Accumulator<T> acc( 42, addend, sum); in TestAccumulator()
H A Dtest_parallel_reduce.cpp42 struct Accumulator { struct
66 ValueType result1 = reduce_invoker<ValueType>( m_range, Accumulator(), Sum(), partitioner ); in CheckParallelReduce() argument
/oneTBB/test/conformance/
H A Dconformance_enumerable_thread_specific.cpp255 class Accumulator { class
257 Accumulator(T& result) : my_result(result) {} in Accumulator() function in Accumulator
258 Accumulator(const Accumulator& other) : my_result(other.my_result) {} in Accumulator() function in Accumulator
259 Accumulator& operator=(const Accumulator& other) { in operator =()
558 sums.combine_each(Accumulator<T>(accumulator_sum)); in run_parallel_scalar_tests()