Home
last modified time | relevance | path

Searched refs:tbb (Results 251 – 275 of 4195) sorted by relevance

1...<<11121314151617181920>>...168

/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/tbbproxy/
H A Dtbbproxy.cpp58 namespace tbb { namespace
135 static tbb::runtime_loader::error_code error( tbb::runtime_loader::error_mode mode, tbb::runtime_lo… in error()
138 if ( mode == tbb::runtime_loader::em_abort ) { in error()
147 case tbb::runtime_loader::em_abort : { in error()
154 case tbb::runtime_loader::em_throw : { in error()
157 case tbb::runtime_loader::em_status : { in error()
334 tbb::runtime_loader::error_mode stub_mode = tbb::runtime_loader::em_abort;
347 tbb::runtime_loader::error_mode mode = tbb::runtime_loader::em_status; in _load()
348 tbb::runtime_loader::error_code code = tbb::runtime_loader::ec_ok; in _load()
501 return tbb::runtime_loader::ec_ok; in load()
[all …]
/dports/devel/tbb/oneTBB-2020.3/src/tbbproxy/
H A Dtbbproxy.cpp58 namespace tbb { namespace
135 static tbb::runtime_loader::error_code error( tbb::runtime_loader::error_mode mode, tbb::runtime_lo… in error()
138 if ( mode == tbb::runtime_loader::em_abort ) { in error()
147 case tbb::runtime_loader::em_abort : { in error()
154 case tbb::runtime_loader::em_throw : { in error()
157 case tbb::runtime_loader::em_status : { in error()
334 tbb::runtime_loader::error_mode stub_mode = tbb::runtime_loader::em_abort;
347 tbb::runtime_loader::error_mode mode = tbb::runtime_loader::em_status; in _load()
348 tbb::runtime_loader::error_code code = tbb::runtime_loader::ec_ok; in _load()
501 return tbb::runtime_loader::ec_ok; in load()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/tbbproxy/
H A Dtbbproxy.cpp58 namespace tbb { namespace
135 static tbb::runtime_loader::error_code error( tbb::runtime_loader::error_mode mode, tbb::runtime_lo… in error()
138 if ( mode == tbb::runtime_loader::em_abort ) { in error()
147 case tbb::runtime_loader::em_abort : { in error()
154 case tbb::runtime_loader::em_throw : { in error()
157 case tbb::runtime_loader::em_status : { in error()
334 tbb::runtime_loader::error_mode stub_mode = tbb::runtime_loader::em_abort;
347 tbb::runtime_loader::error_mode mode = tbb::runtime_loader::em_status; in _load()
348 tbb::runtime_loader::error_code code = tbb::runtime_loader::ec_ok; in _load()
501 return tbb::runtime_loader::ec_ok; in load()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/test/conformance/
H A Dconformance_async_node.cpp57 using namespace oneapi::tbb::flow; in test_inheritance()
88 oneapi::tbb::flow::graph g; in test_async_body()
93 oneapi::tbb::flow::async_node<int, int> node1(g, oneapi::tbb::flow::unlimited, fun); in test_async_body()
107 oneapi::tbb::flow::graph g; in test_copy()
111 oneapi::tbb::flow::async_node<int, int> node1(g, oneapi::tbb::flow::unlimited, fun); in test_copy()
112 oneapi::tbb::flow::async_node<int, int> node2(node1); in test_copy()
116 oneapi::tbb::flow::graph g; in test_priority()
120 …oneapi::tbb::flow::async_node<int, int> node1(g, oneapi::tbb::flow::unlimited, fun, oneapi::tbb::f… in test_priority()
124 oneapi::tbb::flow::graph g; in test_discarding()
129 oneapi::tbb::flow::async_node<int, int> node1(g, oneapi::tbb::flow::unlimited, fun); in test_discarding()
[all …]
H A Dconformance_blocked_range.cpp77 oneapi::tbb::blocked_range<AbstractValueType> r2(r,oneapi::tbb::split()); in SerialTest()
103 oneapi::tbb::parallel_for( r, Striker() ); in ParallelTest()
121 …oneapi::tbb::global_control control(oneapi::tbb::global_control::max_allowed_parallelism, concurre…
129 oneapi::tbb::blocked_range<int> original(0, 100);
130 oneapi::tbb::blocked_range<int> first(original);
131 oneapi::tbb::proportional_split ps(3, 1);
132 oneapi::tbb::blocked_range<int> second(first, ps);
135 oneapi::tbb::blocked_range<int> copy(original);
136 oneapi::tbb::split s = oneapi::tbb::split(ps);
159 oneapi::tbb::blocked_range r2(r1);
[all …]
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/test/
H A Dtest_critical_section.cpp29 tbb::critical_section cs;
33 tbb::enumerable_thread_specific<double> &locals;
51 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()()
66 catch(tbb::improper_lock& e) { in operator ()()
88 tbb::enumerable_thread_specific<double> &locals;
106 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()()
113 tbb::critical_section::scoped_lock my_lock(cs); in operator ()()
126 tbb::task_scheduler_init init(tbb::task_scheduler_init::deferred); in RunOneCriticalSectionTest()
127 tbb::enumerable_thread_specific<double> test_locals; in RunOneCriticalSectionTest()
132 tbb::tick_count t0; in RunOneCriticalSectionTest()
[all …]
H A Dtest_ScalableAllocator.cpp83 tbb::memory_pool<NullAllocator> pool; in TestZeroSpaceMemoryPool()
118 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
153 tbb::fixed_pool pool(NULL, 10*1024*1024); in TestSmallFixedSizePool()
172 int result = TestMain<tbb::scalable_allocator<void> >(); in TestMain()
174 tbb::memory_pool<tbb::scalable_allocator<int> > pool; in TestMain()
175 result += TestMain(tbb::memory_pool_allocator<void>(pool) ); in TestMain()
177 tbb::memory_pool<MinimalAllocator> pool; in TestMain()
182 tbb::fixed_pool pool(buf, sizeof(buf)); in TestMain()
205 typedef tbb::memory_pool<tbb::memory_pool_allocator<char, tbb::fixed_pool> > NestedPool; in TestMain()
208 tbb::fixed_pool fixedPool(buffer, sizeof(buffer)); in TestMain()
[all …]
H A Dtest_enumerable_thread_specific.cpp102 static tbb::atomic<int> gThrowValue;
279 tbb::tick_count t0; in run_serial_scalar_tests()
331 tbb::tick_count t0; in run_parallel_scalar_tests_nocombine()
500 tbb::tick_count t0; in run_parallel_scalar_tests()
533 tbb::parallel_for( tbb::blocked_range<int>( 0, N, RANGE_MIN ), in run_parallel_scalar_tests()
538 tbb::parallel_for( tbb::blocked_range<int>( 0, N, RANGE_MIN ), in run_parallel_scalar_tests()
628 tbb::tick_count t0; in run_parallel_vector_tests()
644 tbb::parallel_for( tbb::blocked_range<int> (0, N, RANGE_MIN), in run_parallel_vector_tests()
709 tbb::tick_count t0; in run_cross_type_vector_tests()
767 tbb::tick_count t0; in run_serial_vector_tests()
[all …]
H A Dtest_parallel_invoke.cpp35 tbb::atomic<size_t> function_counter;
94 tbb::parallel_invoke (f0, f1, *context); in call_parallel_invoke()
96 tbb::parallel_invoke (f0, f1); in call_parallel_invoke()
100 tbb::parallel_invoke (f0, f1, f2, *context); in call_parallel_invoke()
102 tbb::parallel_invoke (f0, f1, f2); in call_parallel_invoke()
108 tbb::parallel_invoke (f0, f1, f2, f3); in call_parallel_invoke()
114 tbb::parallel_invoke (f0, f1, f2, f3, f4); in call_parallel_invoke()
260 class ParInvokeLauncherTask : public tbb::task
262 tbb::task_group_context &my_ctx;
265 tbb::task* execute () __TBB_override { in execute()
[all …]
/dports/devel/tbb/oneTBB-2020.3/src/test/
H A Dtest_critical_section.cpp29 tbb::critical_section cs;
33 tbb::enumerable_thread_specific<double> &locals;
51 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()()
66 catch(tbb::improper_lock& e) { in operator ()()
88 tbb::enumerable_thread_specific<double> &locals;
106 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()()
113 tbb::critical_section::scoped_lock my_lock(cs); in operator ()()
126 tbb::task_scheduler_init init(tbb::task_scheduler_init::deferred); in RunOneCriticalSectionTest()
127 tbb::enumerable_thread_specific<double> test_locals; in RunOneCriticalSectionTest()
132 tbb::tick_count t0; in RunOneCriticalSectionTest()
[all …]
H A Dtest_ScalableAllocator.cpp83 tbb::memory_pool<NullAllocator> pool; in TestZeroSpaceMemoryPool()
118 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
153 tbb::fixed_pool pool(NULL, 10*1024*1024); in TestSmallFixedSizePool()
172 int result = TestMain<tbb::scalable_allocator<void> >(); in TestMain()
174 tbb::memory_pool<tbb::scalable_allocator<int> > pool; in TestMain()
175 result += TestMain(tbb::memory_pool_allocator<void>(pool) ); in TestMain()
177 tbb::memory_pool<MinimalAllocator> pool; in TestMain()
182 tbb::fixed_pool pool(buf, sizeof(buf)); in TestMain()
205 typedef tbb::memory_pool<tbb::memory_pool_allocator<char, tbb::fixed_pool> > NestedPool; in TestMain()
208 tbb::fixed_pool fixedPool(buffer, sizeof(buffer)); in TestMain()
[all …]
H A Dtest_enumerable_thread_specific.cpp102 static tbb::atomic<int> gThrowValue;
279 tbb::tick_count t0; in run_serial_scalar_tests()
331 tbb::tick_count t0; in run_parallel_scalar_tests_nocombine()
500 tbb::tick_count t0; in run_parallel_scalar_tests()
533 tbb::parallel_for( tbb::blocked_range<int>( 0, N, RANGE_MIN ), in run_parallel_scalar_tests()
538 tbb::parallel_for( tbb::blocked_range<int>( 0, N, RANGE_MIN ), in run_parallel_scalar_tests()
628 tbb::tick_count t0; in run_parallel_vector_tests()
644 tbb::parallel_for( tbb::blocked_range<int> (0, N, RANGE_MIN), in run_parallel_vector_tests()
709 tbb::tick_count t0; in run_cross_type_vector_tests()
767 tbb::tick_count t0; in run_serial_vector_tests()
[all …]
H A Dtest_parallel_invoke.cpp35 tbb::atomic<size_t> function_counter;
94 tbb::parallel_invoke (f0, f1, *context); in call_parallel_invoke()
96 tbb::parallel_invoke (f0, f1); in call_parallel_invoke()
100 tbb::parallel_invoke (f0, f1, f2, *context); in call_parallel_invoke()
102 tbb::parallel_invoke (f0, f1, f2); in call_parallel_invoke()
108 tbb::parallel_invoke (f0, f1, f2, f3); in call_parallel_invoke()
114 tbb::parallel_invoke (f0, f1, f2, f3, f4); in call_parallel_invoke()
260 class ParInvokeLauncherTask : public tbb::task
262 tbb::task_group_context &my_ctx;
265 tbb::task* execute () __TBB_override { in execute()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/test/
H A Dtest_critical_section.cpp29 tbb::critical_section cs;
33 tbb::enumerable_thread_specific<double> &locals;
51 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()()
66 catch(tbb::improper_lock& e) { in operator ()()
88 tbb::enumerable_thread_specific<double> &locals;
106 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()()
113 tbb::critical_section::scoped_lock my_lock(cs); in operator ()()
126 tbb::task_scheduler_init init(tbb::task_scheduler_init::deferred); in RunOneCriticalSectionTest()
127 tbb::enumerable_thread_specific<double> test_locals; in RunOneCriticalSectionTest()
132 tbb::tick_count t0; in RunOneCriticalSectionTest()
[all …]
H A Dtest_ScalableAllocator.cpp83 tbb::memory_pool<NullAllocator> pool; in TestZeroSpaceMemoryPool()
118 tbb::fixed_pool pool(buf, sz); in TestSmallFixedSizePool()
153 tbb::fixed_pool pool(NULL, 10*1024*1024); in TestSmallFixedSizePool()
172 int result = TestMain<tbb::scalable_allocator<void> >(); in TestMain()
174 tbb::memory_pool<tbb::scalable_allocator<int> > pool; in TestMain()
175 result += TestMain(tbb::memory_pool_allocator<void>(pool) ); in TestMain()
177 tbb::memory_pool<MinimalAllocator> pool; in TestMain()
182 tbb::fixed_pool pool(buf, sizeof(buf)); in TestMain()
205 typedef tbb::memory_pool<tbb::memory_pool_allocator<char, tbb::fixed_pool> > NestedPool; in TestMain()
208 tbb::fixed_pool fixedPool(buffer, sizeof(buffer)); in TestMain()
[all …]
H A Dtest_enumerable_thread_specific.cpp102 static tbb::atomic<int> gThrowValue;
279 tbb::tick_count t0; in run_serial_scalar_tests()
331 tbb::tick_count t0; in run_parallel_scalar_tests_nocombine()
500 tbb::tick_count t0; in run_parallel_scalar_tests()
533 tbb::parallel_for( tbb::blocked_range<int>( 0, N, RANGE_MIN ), in run_parallel_scalar_tests()
538 tbb::parallel_for( tbb::blocked_range<int>( 0, N, RANGE_MIN ), in run_parallel_scalar_tests()
628 tbb::tick_count t0; in run_parallel_vector_tests()
644 tbb::parallel_for( tbb::blocked_range<int> (0, N, RANGE_MIN), in run_parallel_vector_tests()
709 tbb::tick_count t0; in run_cross_type_vector_tests()
767 tbb::tick_count t0; in run_serial_vector_tests()
[all …]
H A Dtest_parallel_invoke.cpp35 tbb::atomic<size_t> function_counter;
94 tbb::parallel_invoke (f0, f1, *context); in call_parallel_invoke()
96 tbb::parallel_invoke (f0, f1); in call_parallel_invoke()
100 tbb::parallel_invoke (f0, f1, f2, *context); in call_parallel_invoke()
102 tbb::parallel_invoke (f0, f1, f2); in call_parallel_invoke()
108 tbb::parallel_invoke (f0, f1, f2, f3); in call_parallel_invoke()
114 tbb::parallel_invoke (f0, f1, f2, f3, f4); in call_parallel_invoke()
260 class ParInvokeLauncherTask : public tbb::task
262 tbb::task_group_context &my_ctx;
265 tbb::task* execute () __TBB_override { in execute()
[all …]
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/perf/
H A Dtime_hash_map.cpp59 using namespace tbb;
60 using namespace tbb::internal;
70 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
71 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
74 typedef version_current::tbb::concurrent_hash_map<int,int> IntTable;
79 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
80 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
83 typedef version_base::tbb::concurrent_hash_map<int,int> OldTable;
89 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
90 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
[all …]
/dports/devel/tbb/oneTBB-2020.3/src/perf/
H A Dtime_hash_map.cpp59 using namespace tbb;
60 using namespace tbb::internal;
70 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
71 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
74 typedef version_current::tbb::concurrent_hash_map<int,int> IntTable;
79 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
80 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
83 typedef version_base::tbb::concurrent_hash_map<int,int> OldTable;
89 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
90 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/perf/
H A Dtime_hash_map.cpp59 using namespace tbb;
60 using namespace tbb::internal;
70 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
71 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
74 typedef version_current::tbb::concurrent_hash_map<int,int> IntTable;
79 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
80 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
83 typedef version_base::tbb::concurrent_hash_map<int,int> OldTable;
89 namespace tbb { using namespace ::tbb; namespace internal { using namespace ::tbb::internal; } } namespace
90 …namespace tbb { namespace interface5 { using namespace ::tbb::interface5; namespace internal { usi… namespace
[all …]
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/src/tbbproxy/
H A Dtbbproxy.cpp61 namespace tbb { namespace
139 static tbb::runtime_loader::error_code error( tbb::runtime_loader::error_mode mode, tbb::runtime_lo… in error()
142 if ( mode == tbb::runtime_loader::em_abort ) { in error()
151 case tbb::runtime_loader::em_abort : { in error()
158 case tbb::runtime_loader::em_throw : { in error()
161 case tbb::runtime_loader::em_status : { in error()
338 tbb::runtime_loader::error_mode stub_mode = tbb::runtime_loader::em_abort;
351 tbb::runtime_loader::error_mode mode = tbb::runtime_loader::em_status; in _load()
352 tbb::runtime_loader::error_code code = tbb::runtime_loader::ec_ok; in _load()
505 return tbb::runtime_loader::ec_ok; in load()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_pipeline/square/
H A Dsquare.cpp58 oneapi::tbb::tbb_allocator<char>().deallocate( in free()
202 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in run_pipeline()
206 oneapi::tbb::parallel_pipeline( in run_pipeline()
208 oneapi::tbb::make_filter<void, TextSlice*>(oneapi::tbb::filter_mode::serial_in_order, in run_pipeline()
210 oneapi::tbb::make_filter<TextSlice*, TextSlice*>(oneapi::tbb::filter_mode::parallel, in run_pipeline()
212 oneapi::tbb::make_filter<TextSlice*, void>(oneapi::tbb::filter_mode::serial_in_order, in run_pipeline()
215 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in run_pipeline()
227 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main()
251 oneapi::tbb::global_control c(oneapi::tbb::global_control::max_allowed_parallelism, p); in main()
260 oneapi::tbb::global_control c(oneapi::tbb::global_control::max_allowed_parallelism, 1); in main()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/examples/graph/logic_sim/
H A Dbasics.hpp49 using oneapi::tbb::flow::make_edge;
50 using oneapi::tbb::flow::cast_to;
51 using oneapi::tbb::flow::input_port;
52 using oneapi::tbb::flow::output_port;
88 oneapi::tbb::flow::graph& my_graph;
125 oneapi::tbb::flow::graph& my_graph;
164 oneapi::tbb::flow::graph& my_graph;
206 oneapi::tbb::flow::graph& my_graph;
215 oneapi::tbb::flow::graph& my_graph;
634 oneapi::tbb::flow::function_node<signal_t, oneapi::tbb::flow::continue_msg> led_node;
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/test/common/
H A Dgraph_utils.h104 struct harness_graph_default_functor< tbb::flow::continue_msg, tbb::flow::continue_msg > {
105 static tbb::flow::continue_msg construct( tbb::flow::continue_msg ) {
263 tbb::flow::graph& my_graph;
301 tbb::flow::graph& my_graph;
488 tbb::task_arena arena{4};
529tbb::flow::function_node<T, T, tbb::flow::rejecting> sfn(g, tbb::flow::serial, serial_fn_body<T>(s…
655 tbb::flow::graph g;
663 tbb::flow::make_edge(reserving_n, tbb::flow::input_port<0>(join_n));
664 tbb::flow::make_edge(buffering_n, tbb::flow::input_port<1>(join_n));
720 tbb::flow::graph g;
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/test/tbb/
H A Dtest_parallel_for.cpp76tbb::parallel_for( tbb::blocked_range<int>(0,aSize), SSE_Functor<ClassWithVectorType>(Array1, Arra… in TestVectorTypes()
101tbb::parallel_for(tbb::blocked_range<size_t>(0,rangeToSplitSize,grainsize),FunctorType(firstSeries… in TestSimplePartitionerStability()
102tbb::parallel_for(tbb::blocked_range<size_t>(0,rangeToSplitSize,grainsize),FunctorType(secondSerie… in TestSimplePartitionerStability()
121 Body(Body& b, tbb::split) : m_sb(b.m_sb) { } in Body()
136 tbb::affinity_partitioner ap; in test()
151 tbb::affinity_partitioner ap; in test()
152 tbb::parallel_for( range, sync_body, ap ); in test()
153 tbb::parallel_for( range, sync_body, tbb::static_partitioner() ); in test()
219 tbb::task_group_context& my_ctx;
402 tbb::global_control control(tbb::global_control::max_allowed_parallelism, p);
[all …]

1...<<11121314151617181920>>...168