Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 19 of 19) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A DFlow_Graph_Single_Vs_Broadcast.rst45 std::atomic<size_t> b1; // local counts
48 function_node<continue_msg> f1(g,serial,fn_body1(b1));
55 g_cnt = b1 = b2 = b3 = 0;
63 …printf( "after single-push test, g_cnt == %d, b1==%d, b2==%d, b3==%d\n", (int)g_cnt, (int)b1, (int…
71 g_cnt = b1 = b2 = b3 = 0;
79 …printf( "after broadcast-push test, g_cnt == %d, b1==%d, b2==%d, b3==%d\n", (int)g_cnt, (int)b1, (…
89 after single-push test, g_cnt == 3, b1==3, b2==0, b3==0
90 after broadcast-push test, g_cnt == 9, b1==3, b2==3, b3==3
/oneTBB/test/tbb/
H A Dtest_broadcast_node.cpp173 tbb::flow::broadcast_node<T> b1(g); in test_resets() local
175 tbb::flow::make_edge(b0,b1); in test_resets()
176 tbb::flow::make_edge(b1,q0); in test_resets()
201 b1.try_put(i); in test_resets()
231 broadcast_node b1(follows(buf)); in test_deduction_guides() local
232 static_assert(std::is_same_v<decltype(b1), broadcast_node<int>>); in test_deduction_guides()
H A Dtest_multifunction_node.cpp494 buffer_node<int> b1(g); in test_precedes() local
497 …multinode node(precedes(b1, b2), unlimited, [](const int& i, multinode::output_ports_type& op) -> … in test_precedes()
510 …CHECK_MESSAGE((b1.try_get(storage) && !b1.try_get(storage) && b2.try_get(storage) && !b2.try_get(s… in test_precedes()
565 buffer_node<int> b1(g);
568 …multinode node(precedes(b1, b2), unlimited, [](const int& i, multinode::output_ports_type& op) -> … in __anon0fcb77200802()
581 …CHECK_MESSAGE((b1.try_get(storage) && !b1.try_get(storage) && b2.try_get(storage) && !b2.try_get(s…
H A Dtest_overwrite_node.cpp170 broadcast_node<int> b1(g); in test_deduction_guides() local
174 overwrite_node o1(follows(b1)); in test_deduction_guides()
177 overwrite_node o2(precedes(b1)); in test_deduction_guides()
H A Dtest_write_once_node.cpp194 broadcast_node<int> b1(g); in test_deduction_guides() local
198 write_once_node wo1(follows(b1)); in test_deduction_guides()
201 write_once_node wo2(precedes(b1)); in test_deduction_guides()
H A Dtest_join_node_key_matching.cpp39 broadcast_node<int> b1(g), b2(g); in test_deduction_guides() local
43 join_node j2(follows(b1, b2, b3), body_int, body_int, body_double); in test_deduction_guides()
H A Dtest_split_node.cpp387 broadcast_node<tuple_type> b1(g), b2(g); in test_deduction_guides() local
390 split_node s2(follows(b1, b2)); in test_deduction_guides()
H A Dtest_buffer_node.cpp445 buffer_node b1(follows(br)); in test_deduction_guides() local
446 static_assert(std::is_same_v<decltype(b1), buffer_node<int>>); in test_deduction_guides()
H A Dtest_task_arena.cpp229 MultipleMastersPart1( tbb::task_arena &a, utils::SpinBarrier &b1, utils::SpinBarrier &b2) in MultipleMastersPart1() argument
230 : my_a(a), my_b1(b1), my_b2(b2) {} in MultipleMastersPart1()
982 TestEnqueueIsolateBody b1(executed, completed, arena); in TestEnqueue() local
983 b1(); in TestEnqueue()
1038 TestDelegatedSpawnWaitBody( tbb::task_arena &a, utils::SpinBarrier &b1, utils::SpinBarrier &b2) in TestDelegatedSpawnWaitBody() argument
1039 : my_a(a), my_b1(b1), my_b2(b2) {} in TestDelegatedSpawnWaitBody()
H A Dtest_indexer_node.cpp649 broadcast_node<int> b1(g); in test_deduction_guides() local
654 indexer_node i1(follows(b1, b2)); in test_deduction_guides()
H A Dtest_async_node.cpp172 counting_async_serial_body b1 = tbb::flow::copy_body<counting_async_serial_body>(a); in test_reset() local
173 …CHECK_MESSAGE( ( int(async_body_exec_count) == int(b1.my_async_body_exec_count)), "body and global… in test_reset()
H A Dtest_eh_flow_graph.cpp809 tbb::flow::broadcast_node<tbb::flow::continue_msg> b1(g), b2(g), b3(g); in run_one_continue_node_test() local
810 make_edge(input, b1); in run_one_continue_node_test()
811 make_edge(b1,b2); in run_one_continue_node_test()
812 make_edge(b1,b3); in run_one_continue_node_test()
H A Dtest_join_node.h354 unsigned char b1;
358 b1 = (unsigned char)(i&0xFF);
362 operator int() const { return (int)(b1+(b2<<8)+(b3<<16)); }
/oneTBB/examples/parallel_for/polygon_overlay/
H A Dpolyover.cpp51 int r1, g1, b1, r2, g2, b2; in OverlayOnePolygonWithMap() local
60 myPoly->getColor(&r1, &g1, &b1); in OverlayOnePolygonWithMap()
65 myb = b1 + b2; in OverlayOnePolygonWithMap()
342 int r1, g1, b1, r2, g2, b2; in operator ()() local
362 p1->getColor(&r1, &g1, &b1); in operator ()()
371 myb = b1 + b2; in operator ()()
477 int r1, g1, b1, r2, g2, b2; in operator ()() local
497 p1->getColor(&r1, &g1, &b1); in operator ()()
506 myb = b1 + b2; in operator ()()
614 int r1, g1, b1, r2, g2, b2; in operator ()() local
[all …]
/oneTBB/test/common/
H A Dallocator_test_common.h299 AllocatorFooInt b1(a1);
305 REQUIRE(a1 == b1);
309 TestAllocatorConcept<FooInt>(b1);
316 TestBrokenAllocator<FooInt>(b1);
323 TestAllocatorExceptions<FooInt>(b1);
/oneTBB/test/conformance/
H A Dconformance_join_node.cpp45 broadcast_node<int> b1(g), b2(g), b3(g); in test_deduction_guides() local
50 join_node j1(follows(b1, b2, b3)); in test_deduction_guides()
53 join_node j2(follows(b1, b2, b3), reserving()); in test_deduction_guides()
H A Dconformance_global_control.cpp49 StackSizeRun(int threads, utils::SpinBarrier *b1, utils::SpinBarrier *b2) : in StackSizeRun()
50 num_threads(threads), barr1(b1), barr2(b2) {} in StackSizeRun()
H A Dconformance_flowgraph.h724 CountingBody b1; in test_output_input_class() local
726 node1.try_put(b1); in test_output_input_class()
729 …DOCTEST_WARN_MESSAGE((b1.copies_count > 0), "The type Input must meet the DefaultConstructible and… in test_output_input_class()
/oneTBB/include/oneapi/tbb/
H A Dflow_graph.h2228 __TBB_NOINLINE_SYM join_node(graph &g, __TBB_B0 b0, __TBB_B1 b1) : unfolded_type(g, b0, b1) { in __TBB_requires()
2234 …NOINLINE_SYM join_node(graph &g, __TBB_B0 b0, __TBB_B1 b1, __TBB_B2 b2) : unfolded_type(g, b0, b1,… in __TBB_requires()
2240 …NE_SYM join_node(graph &g, __TBB_B0 b0, __TBB_B1 b1, __TBB_B2 b2, __TBB_B3 b3) : unfolded_type(g, … in __TBB_requires()
2246 …__TBB_NOINLINE_SYM join_node(graph &g, __TBB_B0 b0, __TBB_B1 b1, __TBB_B2 b2, __TBB_B3 b3, __TBB_B… in __TBB_requires()
2247 unfolded_type(g, b0, b1, b2, b3, b4) { in __TBB_requires()
2255 …__TBB_NOINLINE_SYM join_node(graph &g, __TBB_B0 b0, __TBB_B1 b1, __TBB_B2 b2, __TBB_B3 b3, __TBB_B… in __TBB_requires()
2256 unfolded_type(g, b0, b1, b2, b3, b4, b5) { in __TBB_requires()
2266 unfolded_type(g, b0, b1, b2, b3, b4, b5, b6) { in __TBB_requires()
2276 __TBB_B7 b7) : unfolded_type(g, b0, b1, b2, b3, b4, b5, b6, b7) { in __TBB_requires()
2286 __TBB_B7 b7, __TBB_B8 b8) : unfolded_type(g, b0, b1, b2, b3, b4, b5, b6, b7, b8) { in __TBB_requires()
[all …]