Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 35) sorted by relevance

12

/oneTBB/include/oneapi/tbb/detail/
H A D_template_helpers.h287 template< typename F, typename Pack > friend void call(F&& f, Pack&& p);
294 static Ret call(F&& f, const pack_type& /*pack*/, Preceding&&... params) {
298 static Ret call(F&& f, pack_type&& /*pack*/, Preceding&&... params) {
319 template< typename F, typename Pack > friend void call(F&& f, Pack&& p);
324 static Ret call(F&& f, pack_type& pack, Preceding&&... params) {
325 return pack_remainder::template call<Ret>(
332 static Ret call(F&& f, pack_type&& pack, Preceding&&... params) {
333 return pack_remainder::template call<Ret>(
342 void call(F&& f, Pack&& p) {
343 std::decay<Pack>::type::template call<void>(std::forward<F>(f), std::forward<Pack>(p));
[all …]
H A D_flow_graph_node_impl.h478 static OutputTuple call(graph& g, const std::tuple<Args...>&) {
502 , my_output_ports(init_output_ports<output_ports_type>::call(g, my_output_ports)){
510 … my_output_ports( init_output_ports<output_ports_type>::call(src.my_graph_ref, my_output_ports) ) {
/oneTBB/doc/main/tbb_userguide/
H A Dcommunicate_with_nodes.rst60 // The following call returns immediately:
62 // The following call returns after m1 & m2
78 done, you need to call the function wait_for_all on both graphs.
81 call to g.wait_for_all() returns immediately because there are no tasks
83 g2. The call to g2.wait_for_all returns after both m1 and m2 are done,
84 since they belong to g2; the call does not however wait for n1 and n2,
H A Dcatching_exceptions.rst11 call site of graph::wait_for_all(). Take the graph below as an example:
42 graph to be canceled and the exception to be rethrown at the call to
64 instead to catch the exception at the call to wait_for_all:
H A DConstraints.rst17 // oneapi::tbb::parallel_for call results in constraint failure
22 // error: no matching function to call to oneapi::tbb::parallel_for
H A DMapping_Nodes2Tasks.rst13 are enough threads available. The call to ``g.wait_for_all()`` blocks until
37 call to ``wait_for_all`` returns.
45 the result to any successor nodes. Only the call to ``wait_for_all``
H A DInitializing_and_Terminating_the_Library.rst21 it is recommended to call ``oneapi::tbb::release`` function on all but the last one, then call ``on…
H A DAllocator_Configuration.rst19 settings take effect until modified by another call to
40 initialized; later environment changes are ignored. A call to
H A Ddestroy_graphs_outside_main_thread.rst9 wait_for_all(). However, it is safest to call wait_for_all on a graph
12 not want to call a wait_for_all in the example from :ref:`always_use_wait_for_all`,
H A Dwork_isolation.rst17 In the following example with two ``parallel_for`` calls, the call to
96 When entered a task waiting call or a blocking parallel construct
105 restrictions on task selection unless isolated by a distinct call to
111 is not changed unexpectedly during the call to a nested parallel
H A Dalways_use_wait_for_all.rst8 forget to call wait_for_all. The function graph::wait_for_all blocks
11 necessary to call wait_for_all before destroying the graph, or any of
H A DFloating_Point_Settings.rst22 Or call the ``capture_fp_settings`` method:
36 In a nested call to a parallel algorithm that does not use the context of a task group with explici…
46 * A call to a oneTBB parallel algorithm does not change the floating-point settings of the calling …
H A Duse_nested_flow_graphs.rst125 It is only necessary to call ``h.wait_for_all()`` at the end of each
128 of ``b``, it was necessary to call ``h.wait_for_all`` at the end of each
130 would be valid in the body of ``b`` above to call ``m1.try_put(i)`` and then
H A DParallelizing_Complex_Loops.rst9 situations call for other parallel patterns. This section describes the
H A DDependence_Graph.rst127 happens asynchronously. The call to A.try_put returns control to the
131 if any. Only the call to wait_for_all blocks, as it should, and even in
H A DEdges.rst40 Now there are two ``function_node`` ``s``, ``n`` and ``m``. The call to ``make_edge`` creates
H A DGraph_Object.rst17 spawned by the graph to complete. The call to ``wait_for_all`` in this
H A Dcancel_a_graph.rst8 graph using an explicit task_group_context, and then call
H A DExceptions_and_Cancellation.rst73 exception thrown at the call site to ``parallel_for``.
/oneTBB/examples/graph/cholesky/
H A DREADME.md8 …large, with a node for each instance of each oneMKL call. For example, there are many nodes that c…
10call, plus `join_node`s that combine the inputs required for each call. So for example, there is o…
/oneTBB/include/oneapi/tbb/
H A Dparallel_for_each.h83 static auto call(const Body& body, ItemArg&& item, FeederArg*)
99 static auto call(const Body& body, ItemArg&& item, FeederArg* feeder)
138 …static auto call(const BodyType& call_body, ItemType& call_item, FeederType& call_feeder, first_pr…
139 …-> decltype(parallel_for_each_operator_selector<Body>::call(call_body, std::move(call_item), &call…
141 … parallel_for_each_operator_selector<Body>::call(call_body, std::move(call_item), &call_feeder);
145 …static void call(const BodyType& call_body, ItemType& call_item, FeederType& call_feeder, second_p… in call() function
146 parallel_for_each_operator_selector<Body>::call(call_body, call_item, &call_feeder); in call()
150 call(my_feeder.my_body, item, my_feeder, first_priority{}); in execute()
222 parallel_for_each_operator_selector<Body>::call(my_body, *item_ptr, my_feeder_ptr); in execute()
249 …tbb::detail::void_t<decltype(parallel_for_each_operator_selector<Body>::call(std::declval<const Bo…
[all …]
H A Dcollaborative_call_once.h216 auto func = [&] { call(std::forward<Fn>(fn), std::move(stored_pack)); }; in collaborative_call_once()
/oneTBB/test/common/
H A Dconcurrent_lru_cache_common.h40 static Type call(Type t) { in call() function
200 cache(&counter_type::call, number_of_lru_history_items) {} in preset_call_count()
/oneTBB/doc/
H A Dtest_classification.dox15 /// check imposibility to call particular interfaces that are not
/oneTBB/test/tbb/
H A Dtest_collaborative_call_once.cpp88 auto func = [&] { tbb::detail::d0::call(std::forward<Fn>(body), std::move(stored_pack)); }; in call_once_in_parallel_for()
109 auto func = [&] { tbb::detail::d0::call(std::forward<Fn>(body), std::move(stored_pack)); }; in call_once_threads()

12