Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 56) sorted by relevance

123

/oneTBB/test/tbb/
H A Dtest_partitioner.h39 using tbb::split;
163 RoundedDownRange(RoundedDownRange& r, tbb::split) in RoundedDownRange() argument
176 RoundedUpRange(RoundedUpRange& r, tbb::split) in RoundedUpRange() argument
189 Range1_2(Range1_2& r, tbb::split) : RangeBase<Range1_2, float>(r, tbb::split()) { } in Range1_2() argument
203 Range1_999(Range1_999& r, tbb::split) : RangeBase<Range1_999, float>(r, tbb::split()) { } in Range1_999() argument
217 Range999_1(Range999_1& r, tbb::split) : RangeBase<Range999_1, float>(r, tbb::split()) { } in Range999_1() argument
229 BlockedRange(BlockedRange& r, split) in BlockedRange() argument
258 ExactSplitRange(ExactSplitRange& r, split) in ExactSplitRange() argument
442 SimpleReduceBody(SimpleReduceBody&, tbb::split) { } in SimpleReduceBody() argument
489 Range1( Range1& r, tbb::split ) : SplitConstructorAssertedRange(r, tbb::split()) { } in Range1() argument
[all …]
H A Dtest_partitioner.cpp184 custom_range(custom_range& r, tbb::split) : base_type(r, tbb::split()) {} in custom_range() argument
195 … custom_range_with_psplit(custom_range_with_psplit& r, tbb::split) : base_type(r, tbb::split()) {} in custom_range_with_psplit() argument
H A Dtest_tbb_header.cpp110 Body2 ( const Body2&, tbb::split ) {} in Body2()
119 Body3 ( const Body3&, tbb::split ) {} in Body3()
H A Dtest_parallel_reduce.cpp110 ReduceFunctorToCancel( ReduceFunctorToCancel&, tbb::split ) : result(0) {} in ReduceFunctorToCancel()
456 MinimalRange( MinimalRange& r, tbb::split ) : end(r.end) { in MinimalRange() argument
486 FooBody( FooBody& other, tbb::split ) { in FooBody() argument
581 Body(Body&, tbb::split) { value = 0; } in Body()
/oneTBB/doc/main/tbb_userguide/
H A DAdvanced_Topic_Other_Kinds_of_Iteration_Spaces.rst10 must specify how it can be split into subspaces by providing a basic splitting
22 // True if range can be split into non-empty subranges
25 R( R& r, split );
35 method ``is_divisible`` should return true if the range can be split
36 into two non-empty subspaces, and such a split is worth the overhead.
43 - The second of type oneapi::tbb::split
48 constructor should attempt to split ``r`` roughly into two halves, and
57 split ``r`` accordingly, so that the updated ``r`` corresponds to the
70 two-dimensional. Its splitting constructor attempts to split the range
H A Dparallel_reduce.rst57 SumFoo( SumFoo& x, split ) : my_a(x.my_a), my_sum(0) {}
74 object, and a dummy argument of type ``split``, which is defined by the
97 at the top of the following figure shows the split-join sequence that
124 Since split/join are not used if workers are unavailable,
H A DAdvanced_Example.rst60 MinIndexFoo( MinIndexFoo& x, split ) :
H A DPartitioner_Summary.rst42 may take advantage of ``Range`` ability to split in a given ratio (see
/oneTBB/include/oneapi/tbb/
H A Dpartitioner.h259 typedef detail::split split_type;
304 adaptive_mode(adaptive_mode &src, split) : my_divisor(do_split(src, split())) {} in adaptive_mode()
310 std::size_t do_split(adaptive_mode &src, split) { in do_split()
323 proportional_mode(proportional_mode &src, split) : adaptive_mode<Partition>(src, split()) {} in proportional_mode()
368 …linear_affinity_mode(linear_affinity_mode &src, split) : proportional_mode<Partition>(src, split()) in linear_affinity_mode()
399 dynamic_grainsize_mode(dynamic_grainsize_mode& p, split) in dynamic_grainsize_mode()
400 : Mode(p, split()) in dynamic_grainsize_mode()
480 auto_partition_type( auto_partition_type& src, split) in auto_partition_type() argument
586 partition_type( const partition_type&, split ) {} in partition_type() argument
620 partition_type( partition_type& pt, split ) { in partition_type() argument
[all …]
H A Dblocked_range.h91 blocked_range( blocked_range& r, split ) : in __TBB_requires()
93 my_begin(do_split(r, split())), in __TBB_requires()
119 static Value do_split( blocked_range& r, split ) in __TBB_requires()
164 using detail::split;
H A Dblocked_range2d.h71 blocked_range2d( blocked_range2d& r, split ) : in __TBB_requires()
75 split split_obj; in __TBB_requires()
H A Dblocked_rangeNd.h105 blocked_rangeNd_impl(blocked_rangeNd_impl& r, split proportion) : my_dims(r.my_dims) { in __TBB_requires()
117 …static_assert((std::is_same<split_type, split>::value || std::is_same<split_type, proportional_spl… in __TBB_requires()
H A Dparallel_scan.h100 m_body(body, split()), m_wait_context(w_o), m_allocator(alloc) { in final_sum()
105 m_body(sum.m_body, split()), m_wait_context(sum.m_wait_context), m_allocator(alloc) { in final_sum()
251 …task* right_child = this->create_child(Range(m_range,split()), *m_left_sum, m_right, m_left_sum, m… in execute()
396 m_range(parent.m_range,split()), in start_scan()
398 m_partition(parent.m_partition,split()), in start_scan()
516 lambda_scan_body( lambda_scan_body& b, split ) in lambda_scan_body() argument
H A Dblocked_range3d.h78 blocked_range3d( blocked_range3d& r, split split_obj ) : in __TBB_requires()
H A Dparallel_reduce.h130 my_partition(parent_.my_partition, split()), in start_reduce()
211 … my_body = static_cast<Body*>(new( parent_ptr->zombie_space.begin() ) Body(*my_body, split())); in execute()
238 right_body{input_left_body, detail::split()},
386 lambda_reduce_body( lambda_reduce_body& other, tbb::split ) in lambda_reduce_body() argument
766 using detail::split;
/oneTBB/include/oneapi/tbb/detail/
H A D_range_common.h36 class split {};
51 explicit operator split() const { return split(); } in split() function
60 static split get( PartitionerSplitType& ) { return split(); } in get()
95 concept splittable = std::constructible_from<T, T&, tbb::detail::split>;
/oneTBB/examples/parallel_reduce/primes/
H A Dprimes.cpp112 Multiples(const Multiples& f, oneapi::tbb::split) in Multiples() argument
203 SieveRange(SieveRange& r, oneapi::tbb::split) in SieveRange() argument
277 Sieve(Sieve& other, oneapi::tbb::split) in Sieve() argument
278 : multiples(other.multiples, oneapi::tbb::split()), in Sieve()
/oneTBB/test/conformance/
H A Dconformance_blocked_range.cpp77 oneapi::tbb::blocked_range<AbstractValueType> r2(r,oneapi::tbb::split()); in SerialTest()
136 oneapi::tbb::split s = oneapi::tbb::split(ps);
/oneTBB/test/common/
H A Dtest_invoke.h42 SmartRange(SmartRange& other, oneapi::tbb::split) in SmartRange() argument
43 : base_range(other, oneapi::tbb::split{}), change_vector(other.change_vector) {} in SmartRange()
/oneTBB/examples/parallel_reduce/pi/
H A Dpi.cpp25 reduce_body(reduce_body& x, tbb::split) : my_pi(0) {} in reduce_body()
/oneTBB/examples/migration/recursive_fibonacci/
H A DREADME.md21 * `C` - cutoff that will be used to stop recursive split.
H A DCMakeLists.txt34 # `C` - cutoff that will be used to stop recursive split.
/oneTBB/examples/parallel_reduce/convex_hull/
H A Dconvex_hull_sample.cpp103 FindXExtremum(const FindXExtremum &fxex, oneapi::tbb::split) in FindXExtremum() argument
169 SplitByCP_buf(SplitByCP_buf &sbcp, oneapi::tbb::split) in SplitByCP_buf() argument
/oneTBB/examples/parallel_for/polygon_overlay/
H A DREADME.md9 * A parallel solution where each map is split into submaps, with each resulting submap being inters…
17 …the average number of polygons examined before stopping.) If the maps are split into 2 submaps, th…
/oneTBB/examples/test_all/fibonacci/
H A Dfibonacci.cpp335 parallel_reduceFibBody(parallel_reduceFibBody &other, oneapi::tbb::split) in parallel_reduceFibBody()
369 parallel_scanFibBody(parallel_scanFibBody &b, oneapi::tbb::split) in parallel_scanFibBody()

123