Home
last modified time | relevance | path

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

/oneTBB/test/conformance/
H A Dconformance_combinable.cpp144 oneapi::tbb::combinable<T> &sums; member in ParallelScalarBody
153 T& my_local = sums.local(was_there); in operator ()()
165 oneapi::tbb::combinable<T> &sums; member in ParallelScalarBodyNoInit
173 sums.local() += 1 ; in operator ()()
201 oneapi::tbb::combinable<T> sums; in RunParallelScalarTests() local
203 combine_sum += sums.combine(my_combine<T>); in RunParallelScalarTests()
204 combine_ref_sum += sums.combine(my_combine_ref<T>); in RunParallelScalarTests()
220 sums.combine_each(my_helper); in RunParallelScalarTests()
223 oneapi::tbb::combinable<T> copy_constructed(sums); in RunParallelScalarTests()
228 assigned = sums; in RunParallelScalarTests()
[all …]
H A Dconformance_enumerable_thread_specific.cpp300 ets_type &sums; member in parallel_scalar_body
376 ets_type sums(exemplar); in run_parallel_scalar_tests_nocombine() local
380 REQUIRE( sums.empty()); 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()
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()
[all …]
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DReduction.rst98 // Reduce two partial sums
200 // Reduce two partial sums