Home
last modified time | relevance | path

Searched refs:blocked_range (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/Common/include/mirtk/
H A DParallel.h105 using tbb::blocked_range;
155 class blocked_range
170 blocked_range<T> _rows;
171 blocked_range<T> _cols;
191 const blocked_range<T> &rows() const { return _rows; } in rows()
192 const blocked_range<T> &cols() const { return _cols; } in cols()
199 blocked_range<T> _pages;
200 blocked_range<T> _rows;
201 blocked_range<T> _cols;
226 const blocked_range<T> &rows() const { return _rows; } in rows()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/test/conformance/
H A Dconformance_blocked_range.cpp63 typedef oneapi::tbb::blocked_range<AbstractValueType> range_type; in SerialTest()
94 void operator()( const oneapi::tbb::blocked_range<int>& r ) const { in operator ()()
102 const oneapi::tbb::blocked_range<int> r( 0, i, 10 ); in ParallelTest()
129 oneapi::tbb::blocked_range<int> original(0, 100);
130 oneapi::tbb::blocked_range<int> first(original);
132 oneapi::tbb::blocked_range<int> second(first, ps);
135 oneapi::tbb::blocked_range<int> copy(original);
137 oneapi::tbb::blocked_range<int> splitted_copy(copy, s);
155 oneapi::tbb::blocked_range r1(v.begin(), v.end());
159 oneapi::tbb::blocked_range r2(r1);
[all …]
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/include/tbb/
H A Dblocked_range.h40 class blocked_range {
52 blocked_range() : my_end(), my_begin(), my_grainsize() {} in blocked_range() function
55 blocked_range( Value begin_, Value end_, size_type grainsize_=1 ) :
91 blocked_range( blocked_range& r, split ) : in blocked_range() function
107 blocked_range( blocked_range& r, proportional_split& proportion ) : in blocked_range() function
124 static Value do_split( blocked_range& r, split ) in do_split()
133 static Value do_split( blocked_range& r, proportional_split& proportion ) in do_split()
/dports/devel/concurrentqueue/concurrentqueue-1.0.3-15-g0753496/benchmarks/tbb/
H A Dblocked_range.h40 class blocked_range {
52 blocked_range() : my_end(), my_begin() {} in blocked_range() function
55 blocked_range( Value begin_, Value end_, size_type grainsize_=1 ) :
91 blocked_range( blocked_range& r, split ) : in blocked_range() function
107 blocked_range( blocked_range& r, proportional_split& proportion ) : in blocked_range() function
125 static Value do_split( blocked_range& r, split ) in do_split()
134 static Value do_split( blocked_range& r, proportional_split& proportion ) in do_split()
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/include/tbb/
H A Dblocked_range.h45 class blocked_range {
58 blocked_range() : my_end(), my_begin(), my_grainsize() {} in blocked_range() function
62 blocked_range( Value begin_, Value end_, size_type grainsize_=1 ) :
98 blocked_range( blocked_range& r, split ) : in blocked_range() function
114 blocked_range( blocked_range& r, proportional_split& proportion ) : in blocked_range() function
131 static Value do_split( blocked_range& r, split ) in do_split()
140 static Value do_split( blocked_range& r, proportional_split& proportion ) in do_split()
H A Dblocked_rangeNd.h66 using dim_type_helper = tbb::blocked_range<value_type>;
78 const tbb::blocked_range<value_type>& dim(unsigned int dimension) const { in dim()
89 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in empty()
96 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in is_divisible()
118 std::array<tbb::blocked_range<value_type>, N> my_dims;
127 …(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& first, const tbb::blocke… in do_split()
133 my_it->my_begin = tbb::blocked_range<value_type>::do_split(*r_it, proportion); in do_split()
/dports/devel/tbb/oneTBB-2020.3/include/tbb/
H A Dblocked_range.h45 class blocked_range {
58 blocked_range() : my_end(), my_begin(), my_grainsize() {} in blocked_range() function
62 blocked_range( Value begin_, Value end_, size_type grainsize_=1 ) :
98 blocked_range( blocked_range& r, split ) : in blocked_range() function
114 blocked_range( blocked_range& r, proportional_split& proportion ) : in blocked_range() function
131 static Value do_split( blocked_range& r, split ) in do_split()
140 static Value do_split( blocked_range& r, proportional_split& proportion ) in do_split()
H A Dblocked_rangeNd.h66 using dim_type_helper = tbb::blocked_range<value_type>;
78 const tbb::blocked_range<value_type>& dim(unsigned int dimension) const { in dim()
89 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in empty()
96 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in is_divisible()
118 std::array<tbb::blocked_range<value_type>, N> my_dims;
127 …(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& first, const tbb::blocke… in do_split()
133 my_it->my_begin = tbb::blocked_range<value_type>::do_split(*r_it, proportion); in do_split()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/include/tbb/
H A Dblocked_range.h45 class blocked_range {
58 blocked_range() : my_end(), my_begin(), my_grainsize() {} in blocked_range() function
62 blocked_range( Value begin_, Value end_, size_type grainsize_=1 ) :
98 blocked_range( blocked_range& r, split ) : in blocked_range() function
114 blocked_range( blocked_range& r, proportional_split& proportion ) : in blocked_range() function
131 static Value do_split( blocked_range& r, split ) in do_split()
140 static Value do_split( blocked_range& r, proportional_split& proportion ) in do_split()
H A Dblocked_rangeNd.h66 using dim_type_helper = tbb::blocked_range<value_type>;
78 const tbb::blocked_range<value_type>& dim(unsigned int dimension) const { in dim()
89 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in empty()
96 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in is_divisible()
118 std::array<tbb::blocked_range<value_type>, N> my_dims;
127 …(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& first, const tbb::blocke… in do_split()
133 my_it->my_begin = tbb::blocked_range<value_type>::do_split(*r_it, proportion); in do_split()
/dports/math/openturns/openturns-1.18/lib/src/Base/Common/openturns/
H A DTBB.hxx49 class blocked_range class
54 blocked_range(value_type from, value_type to, size_type gs = 1) in blocked_range() function in tbb::blocked_range
143 struct BlockedRange : public tbb::blocked_range<T>
146 typedef typename tbb::blocked_range<T>::size_type size_type;
147 …BlockedRange(value_type from, value_type to, size_type gs = 1) : tbb::blocked_range<T>(from, to, g… in BlockedRange()
148 BlockedRange(const tbb::blocked_range<T> & range) : tbb::blocked_range<T>(range) {} in BlockedRange()
159 tbb::parallel_for(tbb::blocked_range<UnsignedInteger>(from, to, gs), body); in ParallelFor()
170 body(tbb::blocked_range<UnsignedInteger>(from, to, gs)); in ParallelForIf()
180 tbb::parallel_reduce(tbb::blocked_range<UnsignedInteger>(from, to, gs), body); in ParallelReduce()
191 body(tbb::blocked_range<UnsignedInteger>(from, to, gs)); in ParallelReduceIf()
/dports/devel/onetbb/oneTBB-2021.4.0/include/oneapi/tbb/
H A Dblocked_range.h44 class blocked_range { in __TBB_requires()
55 blocked_range( Value begin_, Value end_, size_type grainsize_=1 ) : in __TBB_requires()
91 blocked_range( blocked_range& r, split ) : in __TBB_requires()
103 blocked_range( blocked_range& r, proportional_split& proportion ) : in __TBB_requires()
119 static Value do_split( blocked_range& r, split ) in __TBB_requires()
127 static Value do_split( blocked_range& r, proportional_split& proportion ) in __TBB_requires()
162 using detail::d1::blocked_range;
H A Dblocked_rangeNd.h66 using dim_type_helper = tbb::blocked_range<value_type>; in __TBB_requires()
78 const tbb::blocked_range<value_type>& dim(unsigned int dimension) const { in __TBB_requires()
89 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in __TBB_requires()
96 … return std::any_of(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& d) { in __TBB_requires()
113 std::array<tbb::blocked_range<value_type>, N> my_dims; in __TBB_requires()
120 …(my_dims.begin(), my_dims.end(), [](const tbb::blocked_range<value_type>& first, const tbb::blocke… in __TBB_requires()
126 my_it->my_begin = tbb::blocked_range<value_type>::do_split(*r_it, proportion); in __TBB_requires()
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/test/
H A Dtest_blocked_range.cpp55 typedef tbb::blocked_range<AbstractValueType> range_type; in SerialTest()
69 tbb::blocked_range<AbstractValueType> r2(r,tbb::split()); in SerialTest()
90 void operator()( const tbb::blocked_range<int>& r ) const { in operator ()()
98 const tbb::blocked_range<int> r( 0, i, 10 ); in ParallelTest()
121 const tbb::blocked_range<size_t*> r(int_array, Harness::end(int_array), 1); in TestRangeBasedFor()
132 using tbb::blocked_range; in TestProportionalSplitOverflow()
135 blocked_range<size_t> r1(0, size_t(-1) / 2); in TestProportionalSplitOverflow()
141 blocked_range<size_t> r2(r1, p); in TestProportionalSplitOverflow()
170 tbb::blocked_range r1(v.begin(), v.end()); in TestDeductionGuides()
174 tbb::blocked_range r2(r1); in TestDeductionGuides()
[all …]
H A Dtest_lambda.cpp80 parallel_for(blocked_range<int>(0,N,Grainsize), in TestMain()
81 [&] (blocked_range<int>& r) { in TestMain()
89 int sum = parallel_reduce(blocked_range<int>(0,N,Grainsize), int(0), in TestMain()
100 parallel_reduce(blocked_range<int>(0,N,Grainsize), make_pair(a[0], 0), in TestMain()
101 [&] (blocked_range<int>& r, max_element_t current_max) in TestMain()
161 parallel_for(blocked_range<int>(0,N,Grainsize), in TestMain()
162 [&] (blocked_range<int>& r) { in TestMain()
179 parallel_for(blocked_range<int>(0,N), in TestMain()
180 [&] (const blocked_range<int> &r) { in TestMain()
209 parallel_for(blocked_range<int>(0,N), in TestMain()
[all …]
H A Dtest_tbb_header.cpp106 void operator() ( const tbb::blocked_range<int>& ) const {} in operator ()()
110 int operator() ( const tbb::blocked_range<int>&, const int ) const { return 0; } in operator ()()
121 int operator() ( const tbb::blocked_range<int>&, const int, bool ) const { return 0; } in operator ()()
292 TestTypeDefinitionPresence( blocked_range<int> );
299 …TestFuncDefinitionPresence( parallel_for, (const tbb::blocked_range<int>&, const Body2&, const tbb…
300 …TestFuncDefinitionPresence( parallel_reduce, (const tbb::blocked_range<int>&, const int&, const Bo…
301 …TestFuncDefinitionPresence( parallel_reduce, (const tbb::blocked_range<int>&, Body2&, tbb::affinit…
303 …TestFuncDefinitionPresence( parallel_deterministic_reduce, (const tbb::blocked_range<int>&, Body2&…
305 …TestFuncDefinitionPresence( parallel_scan, (const tbb::blocked_range<int>&, const int&, const Body…
318 …TestFuncDefinitionPresence( parallel_reduce, (const tbb::blocked_range<int>&, Body2&, tbb::task_gr…
[all …]
/dports/devel/tbb/oneTBB-2020.3/src/test/
H A Dtest_blocked_range.cpp55 typedef tbb::blocked_range<AbstractValueType> range_type; in SerialTest()
69 tbb::blocked_range<AbstractValueType> r2(r,tbb::split()); in SerialTest()
90 void operator()( const tbb::blocked_range<int>& r ) const { in operator ()()
98 const tbb::blocked_range<int> r( 0, i, 10 ); in ParallelTest()
121 const tbb::blocked_range<size_t*> r(int_array, Harness::end(int_array), 1); in TestRangeBasedFor()
132 using tbb::blocked_range; in TestProportionalSplitOverflow()
135 blocked_range<size_t> r1(0, size_t(-1) / 2); in TestProportionalSplitOverflow()
141 blocked_range<size_t> r2(r1, p); in TestProportionalSplitOverflow()
170 tbb::blocked_range r1(v.begin(), v.end()); in TestDeductionGuides()
174 tbb::blocked_range r2(r1); in TestDeductionGuides()
[all …]
H A Dtest_lambda.cpp80 parallel_for(blocked_range<int>(0,N,Grainsize), in TestMain()
81 [&] (blocked_range<int>& r) { in TestMain()
89 int sum = parallel_reduce(blocked_range<int>(0,N,Grainsize), int(0), in TestMain()
100 parallel_reduce(blocked_range<int>(0,N,Grainsize), make_pair(a[0], 0), in TestMain()
101 [&] (blocked_range<int>& r, max_element_t current_max) in TestMain()
161 parallel_for(blocked_range<int>(0,N,Grainsize), in TestMain()
162 [&] (blocked_range<int>& r) { in TestMain()
179 parallel_for(blocked_range<int>(0,N), in TestMain()
180 [&] (const blocked_range<int> &r) { in TestMain()
209 parallel_for(blocked_range<int>(0,N), in TestMain()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/test/
H A Dtest_blocked_range.cpp55 typedef tbb::blocked_range<AbstractValueType> range_type; in SerialTest()
69 tbb::blocked_range<AbstractValueType> r2(r,tbb::split()); in SerialTest()
90 void operator()( const tbb::blocked_range<int>& r ) const { in operator ()()
98 const tbb::blocked_range<int> r( 0, i, 10 ); in ParallelTest()
121 const tbb::blocked_range<size_t*> r(int_array, Harness::end(int_array), 1); in TestRangeBasedFor()
132 using tbb::blocked_range; in TestProportionalSplitOverflow()
135 blocked_range<size_t> r1(0, size_t(-1) / 2); in TestProportionalSplitOverflow()
141 blocked_range<size_t> r2(r1, p); in TestProportionalSplitOverflow()
170 tbb::blocked_range r1(v.begin(), v.end()); in TestDeductionGuides()
174 tbb::blocked_range r2(r1); in TestDeductionGuides()
[all …]
H A Dtest_lambda.cpp80 parallel_for(blocked_range<int>(0,N,Grainsize), in TestMain()
81 [&] (blocked_range<int>& r) { in TestMain()
89 int sum = parallel_reduce(blocked_range<int>(0,N,Grainsize), int(0), in TestMain()
100 parallel_reduce(blocked_range<int>(0,N,Grainsize), make_pair(a[0], 0), in TestMain()
101 [&] (blocked_range<int>& r, max_element_t current_max) in TestMain()
161 parallel_for(blocked_range<int>(0,N,Grainsize), in TestMain()
162 [&] (blocked_range<int>& r) { in TestMain()
179 parallel_for(blocked_range<int>(0,N), in TestMain()
180 [&] (const blocked_range<int> &r) { in TestMain()
209 parallel_for(blocked_range<int>(0,N), in TestMain()
[all …]
/dports/graphics/blender/blender-2.91.0/extern/mantaflow/preprocessed/
H A Dcommonkernels.h59 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
66 tbb::parallel_for(tbb::blocked_range<IndexInt>(0, size), *this); in run()
104 void operator()(const tbb::blocked_range<IndexInt> &__r) in operator()
163 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
226 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
288 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
350 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
411 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
502 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
567 void operator()(const tbb::blocked_range<IndexInt> &__r) const in operator()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/test/tbb/
H A Dtest_tbb_header.cpp111 void operator() ( const tbb::blocked_range<int>& ) const {} in operator ()()
115 int operator() ( const tbb::blocked_range<int>&, const int ) const { return 0; } in operator ()()
126 int operator() ( const tbb::blocked_range<int>&, const int, bool ) const { return 0; } in operator ()()
237 TestTypeDefinitionPresence( blocked_range<int> ); in DefinitionPresence()
243 …TestFuncDefinitionPresence( parallel_for, (const tbb::blocked_range<int>&, const Body2&, const tbb… in DefinitionPresence()
244 …TestFuncDefinitionPresence( parallel_reduce, (const tbb::blocked_range<int>&, const int&, const Bo… in DefinitionPresence()
245 …TestFuncDefinitionPresence( parallel_reduce, (const tbb::blocked_range<int>&, Body2&, tbb::affinit… in DefinitionPresence()
247 …TestFuncDefinitionPresence( parallel_deterministic_reduce, (const tbb::blocked_range<int>&, Body2&… in DefinitionPresence()
249 …TestFuncDefinitionPresence( parallel_scan, (const tbb::blocked_range<int>&, const int&, const Body… in DefinitionPresence()
260 …TestFuncDefinitionPresence( parallel_reduce, (const tbb::blocked_range<int>&, Body2&, tbb::task_gr… in DefinitionPresence()
[all …]
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/Image/include/mirtk/
H A DDataFunctions.h84 void operator()(const blocked_range<int> &re) const in operator()
104 parallel_for(blocked_range<int>(0, n), *this);
123 void operator()(const blocked_range<int> &re) const in operator()
138 parallel_for(blocked_range<int>(0, n), *this);
344 parallel_for(blocked_range<int>(0, n), *this);
368 parallel_for(blocked_range<int>(0, n), *this);
388 parallel_for(blocked_range<int>(0, n), *this);
414 parallel_for(blocked_range<int>(0, n), *this);
439 parallel_for(blocked_range<int>(0, n), *this);
464 parallel_for(blocked_range<int>(0, n), *this);
[all …]
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/PointSet/src/
H A DFuzzyCorrespondenceUtils.cc38 void operator()(const blocked_range<int> &rows) const in operator ()()
53 parallel_for(blocked_range<int>(0, m), body); in Run()
63 void operator()(const blocked_range<int> &cols) const in operator ()()
78 parallel_for(blocked_range<int>(0, n), body); in Run()
106 void operator()(const blocked_range<int> &re) in operator ()()
118 parallel_reduce(blocked_range<int>(0, m), body); in Run()
147 void operator()(const blocked_range<int> &re) in operator ()()
159 parallel_reduce(blocked_range<int>(0, n), body); in Run()
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/src/
H A Dnormal.cpp29 auto map = [&](const tbb::blocked_range<uint32_t> &range) { in generate_smooth_normals()
68 [&](const tbb::blocked_range<uint32_t> &range) { in generate_smooth_normals()
101 [&](const tbb::blocked_range<uint32_t> &range) { in generate_smooth_normals()
125 [&](const tbb::blocked_range<uint32_t> &range) { in generate_smooth_normals()
187 [&](const tbb::blocked_range<uint32_t> &range) { in generate_crease_normals()
211 [&](const tbb::blocked_range<uint32_t> &range) { in generate_crease_normals()
249 tbb::blocked_range<uint32_t>(0u, oldSize, GRAIN_SIZE), in generate_crease_normals()
250 [&](const tbb::blocked_range<uint32_t> &range) { in generate_crease_normals()
336 [&](const tbb::blocked_range<uint32_t> &range) { in generate_crease_normals()
360 [&](const tbb::blocked_range<uint32_t> &range) { in generate_crease_normals()
[all …]

12345678910>>...23