Lines Matching refs:sums
300 ets_type &sums; member in parallel_scalar_body
305 …parallel_scalar_body ( ets_type &_sums, const char *alloc_name ) : sums(_sums), allocator_name(all… in parallel_scalar_body()
309 test_helper<T>::sum( check_alignment(sums.local(),allocator_name), 1 ); in operator ()()
376 ets_type sums(exemplar); in run_parallel_scalar_tests_nocombine() local
380 REQUIRE( sums.empty()); in run_parallel_scalar_tests_nocombine()
381 …ocked_range<int>( 0, N*p, RANGE_MIN ), parallel_scalar_body<T,Allocator>( sums, allocator_name ) ); in run_parallel_scalar_tests_nocombine()
382 REQUIRE( !sums.empty()); in run_parallel_scalar_tests_nocombine()
394 for ( typename ets_type::iterator i = sums.begin(); i != sums.end(); ++i ) { in run_parallel_scalar_tests_nocombine()
398 REQUIRE( sums.size() == size); in run_parallel_scalar_tests_nocombine()
401 for ( typename ets_type::const_iterator i = sums.begin(); i != sums.end(); ++i ) { in run_parallel_scalar_tests_nocombine()
406 typename ets_type::range_type r = sums.range(); in run_parallel_scalar_tests_nocombine()
412 const ets_type& csums = sums; in run_parallel_scalar_tests_nocombine()
421 cached_ets_type cconst(sums); in run_parallel_scalar_tests_nocombine()
438 assigned = sums; in run_parallel_scalar_tests_nocombine()
446 cassgn = sums; in run_parallel_scalar_tests_nocombine()
540 ets_type sums(exemplar); in run_parallel_scalar_tests() local
542 REQUIRE(sums.empty()); in run_parallel_scalar_tests()
544 parallel_scalar_body<T, Allocator>(sums, allocator_name)); in run_parallel_scalar_tests()
545 REQUIRE(!sums.empty()); in run_parallel_scalar_tests()
553 test_helper<T>::sum(combine_sum, sums.combine(FunctionAdd<T>)); in run_parallel_scalar_tests()
554 test_helper<T>::sum(combine_ref_sum, sums.combine(FunctionAddByRef<T>)); in run_parallel_scalar_tests()
558 sums.combine_each(Accumulator<T>(accumulator_sum)); in run_parallel_scalar_tests()
560 sums.combine_each(ClearingAccumulator<T>(clearing_accumulator_sum)); in run_parallel_scalar_tests()
562 sums.combine_each(ClearingAccumulator<T>::AssertClean); in run_parallel_scalar_tests()