Home
last modified time | relevance | path

Searched refs:fun (Results 1 – 8 of 8) sorted by relevance

/oneTBB/test/conformance/
H A Dconformance_continue_node.cpp143 conformance::counting_functor<int> fun(conformance::expected);
150 conformance::dummy_functor<int> fun; variable
160 conformance::counting_functor<int> fun; variable
162 continue_node<int> proto1(g, fun);
163 continue_node<int> proto2(g, fun, oneapi::tbb::flow::node_priority_t(1));
164 continue_node<int> proto3(g, 2, fun);
165 continue_node<int> proto4(g, 2, fun, oneapi::tbb::flow::node_priority_t(1));
167 continue_node<int, lightweight> lw_node1(g, fun, lightweight());
169 continue_node<int, lightweight> lw_node3(g, 2, fun, lightweight());
224 conformance::counting_functor<int> fun; variable
[all …]
H A Dconformance_multifunction_node.cpp69 conformance::counting_functor<int> fun; variable
71 multifunction_node<int, std::tuple<int>> fn1(g, unlimited, fun);
72 …multifunction_node<int, std::tuple<int>> fn2(g, unlimited, fun, oneapi::tbb::flow::node_priority_t…
74 multifunction_node<int, std::tuple<int>, lightweight> lw_node1(g, serial, fun, lightweight());
75 …multifunction_node<int, std::tuple<int>, lightweight> lw_node2(g, serial, fun, lightweight(), onea…
88 conformance::dummy_functor<int> fun; variable
90 oneapi::tbb::flow::rejecting>, input_msg>(oneapi::tbb::flow::unlimited, fun);
96 conformance::counting_functor<int> fun(conformance::expected);
97 …tifunction_node<input_msg, std::tuple<int>>, input_msg, int>(1, oneapi::tbb::flow::unlimited, fun);
118 conformance::dummy_functor<int> fun; variable
[all …]
H A Dconformance_async_node.cpp36 conformance::dummy_functor<int> fun; variable
38 async_node<int, int> fn1(g, unlimited, fun);
39 async_node<int, int> fn2(g, unlimited, fun, oneapi::tbb::flow::node_priority_t(1));
41 async_node<int, int, lightweight> lw_node1(g, serial, fun, lightweight());
42 …async_node<int, int, lightweight> lw_node2(g, serial, fun, lightweight(), oneapi::tbb::flow::node_…
48 conformance::dummy_functor<int> fun; variable
49 …ering<oneapi::tbb::flow::async_node<input_msg, int>, input_msg>(oneapi::tbb::flow::unlimited, fun);
82 conformance::counting_functor<int> fun(conformance::expected);
83 …eapi::tbb::flow::async_node<input_msg, int>, input_msg, int>(1, oneapi::tbb::flow::unlimited, fun);
H A Dconformance_function_node.cpp128 conformance::counting_functor<int> fun; variable
130 function_node<int, int> fn1(g, unlimited, fun);
131 function_node<int, int> fn2(g, unlimited, fun, oneapi::tbb::flow::node_priority_t(1));
133 function_node<int, int, lightweight> lw_node1(g, serial, fun, lightweight());
134 …function_node<int, int, lightweight> lw_node2(g, serial, fun, lightweight(), oneapi::tbb::flow::no…
168 conformance::dummy_functor<int> fun; variable
169 …_node<input_msg, int, oneapi::tbb::flow::rejecting>, input_msg>(oneapi::tbb::flow::unlimited, fun);
170 …n_node<input_msg, int, oneapi::tbb::flow::queueing>, input_msg>(oneapi::tbb::flow::unlimited, fun);
176 conformance::counting_functor<int> fun(conformance::expected);
177 …i::tbb::flow::function_node<input_msg, int>, input_msg, int>(1, oneapi::tbb::flow::unlimited, fun);
H A Dconformance_input_node.cpp132 conformance::counting_functor<output_msg> fun(conformance::expected);
133 … conformance::test_forwarding<oneapi::tbb::flow::input_node<output_msg>, void, output_msg>(5, fun);
139 conformance::dummy_functor<int> fun; variable
140 conformance::test_buffering<oneapi::tbb::flow::input_node<int>, int>(fun);
148 conformance::counting_functor<output_msg> fun(counting_threshold);
150 oneapi::tbb::flow::input_node<output_msg> node1(g, fun);
159 …CHECK_MESSAGE((fun.execute_count == counting_threshold + 1), "Body of the node needs to be execute…
H A Dconformance_flowgraph.h587 dummy_functor<int> fun; in test_copy_ctor_for_buffering_nodes() local
590 oneapi::tbb::flow::continue_node<int> pred_node(g, fun); in test_copy_ctor_for_buffering_nodes()
718 passthru_body<CountingBody> fun; in test_output_input_class() local
721 Node node1(g, unlimited, fun); in test_output_input_class()
737 passthru_body<Output> fun; in test_output_class() local
740 Node node1(g, fun); in test_output_class()
H A Dconformance_graph.cpp52 conformance::copy_counting_object<int> fun; in test_input_node_rf_reset_protocol() local
54 oneapi::tbb::flow::input_node<int> node(g, fun); in test_input_node_rf_reset_protocol()
/oneTBB/doc/main/tbb_userguide/
H A DSummary_of_Loops_and_Pipelines.rst10 Have fun using these templates to unlock the power of multi-core.