Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Namespaces | |
graph_policy_namespace | |
Typedefs | |
typedef tbb::internal::uint64_t | tag_value |
typedef tbb::concurrent_priority_queue< graph_task *, graph_task_comparator > | graph_task_priority_queue_t |
Enumerations | |
enum | op_stat { WAIT = 0, SUCCEEDED, FAILED } |
Functions | |
template<typename V , typename T > | |
const V & | cast_to (T const &t) |
template<typename V , typename T > | |
bool | is_a (T const &t) |
template<size_t N, typename MOP > | |
tbb::flow::tuple_element< N, typename MOP::output_ports_type >::type & | output_port (MOP &op) |
void | check_task_and_spawn (graph &g, task *t) |
template<typename CompositeType > | |
void | add_nodes_impl (CompositeType *, bool) |
template<typename CompositeType , typename NodeType1 , typename... NodeTypes> | |
void | add_nodes_impl (CompositeType *c_node, bool visible, const NodeType1 &n1, const NodeTypes &... n) |
template<size_t N, typename JNT > | |
tbb::flow::tuple_element< N, typename JNT::input_ports_type >::type & | input_port (JNT &jn) |
templated function to refer to input ports of the join node More... | |
template<typename IndexerNodeBaseType , typename T , size_t K> | |
task * | do_try_put (const T &v, void *p) |
template<typename... Args> | |
void | ignore_return_values (Args &&...) |
template<typename T > | |
T | or_return_values (T &&t) |
template<typename T , typename... Rest> | |
T | or_return_values (T &&t, Rest &&... rest) |
opencl_device_list | find_available_devices () |
void | activate_graph (graph &g) |
void | deactivate_graph (graph &g) |
bool | is_graph_active (graph &g) |
void | spawn_in_graph_arena (graph &g, tbb::task &arena_task) |
Spawns a task inside graph arena. More... | |
void | add_task_to_graph_reset_list (graph &g, tbb::task *tp) |
template<typename F > | |
void | execute_in_graph_arena (graph &g, F &f) |
Executes custom functor inside graph arena. More... | |
typedef tbb::concurrent_priority_queue<graph_task*, graph_task_comparator> tbb::flow::interface10::internal::graph_task_priority_queue_t |
Definition at line 168 of file _flow_graph_impl.h.
typedef tbb::internal::uint64_t tbb::flow::interface10::internal::tag_value |
Definition at line 29 of file flow_graph.h.
Definition at line 450 of file _flow_graph_impl.h.
References tbb::flow::interface10::graph::my_is_active.
Referenced by tbb::flow::interface10::graph::reset().
void tbb::flow::interface10::internal::add_nodes_impl | ( | CompositeType * | , |
bool | |||
) |
Definition at line 879 of file flow_graph.h.
Referenced by tbb::flow::interface10::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple< OutputTypes... > >::add_nodes(), tbb::flow::interface10::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple<> >::add_nodes(), tbb::flow::interface10::composite_node< tbb::flow::tuple<>, tbb::flow::tuple< OutputTypes... > >::add_nodes(), tbb::flow::interface10::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple< OutputTypes... > >::add_visible_nodes(), tbb::flow::interface10::composite_node< tbb::flow::tuple< InputTypes... >, tbb::flow::tuple<> >::add_visible_nodes(), and tbb::flow::interface10::composite_node< tbb::flow::tuple<>, tbb::flow::tuple< OutputTypes... > >::add_visible_nodes().
void tbb::flow::interface10::internal::add_nodes_impl | ( | CompositeType * | c_node, |
bool | visible, | ||
const NodeType1 & | n1, | ||
const NodeTypes &... | n | ||
) |
Definition at line 882 of file flow_graph.h.
References tbb::internal::fgt_node_with_body(), tbb::flow::interface10::graph_node::my_graph, tbb::flow::interface10::source_node< Output >::my_successors, and tbb::flow::interface10::internal::successor_cache< T, M >::set_owner().
|
inline |
Definition at line 491 of file _flow_graph_impl.h.
References tbb::flow::interface10::graph::my_reset_task_list.
const V& tbb::flow::interface10::internal::cast_to | ( | T const & | t | ) |
Definition at line 701 of file flow_graph.h.
Definition at line 648 of file flow_graph.h.
Definition at line 454 of file _flow_graph_impl.h.
References tbb::flow::interface10::graph::my_is_active.
Referenced by tbb::flow::interface10::graph::reset().
task* tbb::flow::interface10::internal::do_try_put | ( | const T & | v, |
void * | p | ||
) |
Definition at line 34 of file flow_graph.h.
|
inline |
Executes custom functor inside graph arena.
Definition at line 464 of file _flow_graph_impl.h.
References __TBB_ASSERT, tbb::interface7::task_arena::execute(), tbb::interface7::task_arena::is_active(), is_graph_active(), and tbb::flow::interface10::graph::my_task_arena.
Referenced by spawn_in_graph_arena(), and tbb::flow::interface10::async_node< Input, Output, Policy, Allocator >::try_put_impl().
|
inline |
Definition at line 280 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_device_list::add(), d, tbb::flow::interface10::enforce_cl_retcode(), and p.
Referenced by tbb::flow::interface10::opencl_info::available_devices().
void tbb::flow::interface10::internal::ignore_return_values | ( | Args && | ... | ) |
Definition at line 64 of file flow_graph.h.
tbb::flow::tuple_element<N, typename JNT::input_ports_type>::type& tbb::flow::interface10::internal::input_port | ( | JNT & | jn | ) |
templated function to refer to input ports of the join node
Definition at line 1993 of file flow_graph.h.
bool tbb::flow::interface10::internal::is_a | ( | T const & | t | ) |
Definition at line 704 of file flow_graph.h.
|
inline |
Definition at line 458 of file _flow_graph_impl.h.
References tbb::flow::interface10::graph::my_is_active.
Referenced by internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::create_body_task(), internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::create_forward_task(), internal::join_node_FE< reserving, InputTuple, OutputTuple >::decrement_port_count(), internal::join_node_FE< queueing, InputTuple, OutputTuple >::decrement_port_count(), internal::continue_input< Output, Policy >::execute(), execute_in_graph_arena(), internal::join_node_FE< key_matching< K, KHash >, InputTuple, OutputTuple >::fill_output_buffer(), tbb::flow::interface10::limiter_node< T >::forward_task(), internal::join_node_base< JP, InputTuple, OutputTuple >::handle_operations(), tbb::flow::interface10::limiter_node< T >::register_predecessor(), tbb::flow::interface10::limiter_node< T >::register_successor(), tbb::flow::interface10a::overwrite_node< T >::register_successor(), tbb::flow::interface10::graph::run(), tbb::flow::interface10::source_node< Output >::spawn_put(), and tbb::flow::interface10::limiter_node< T >::try_put_task().
T tbb::flow::interface10::internal::or_return_values | ( | T && | t | ) |
Definition at line 67 of file flow_graph.h.
T tbb::flow::interface10::internal::or_return_values | ( | T && | t, |
Rest &&... | rest | ||
) |
Definition at line 69 of file flow_graph.h.
tbb::flow::tuple_element<N, typename MOP::output_ports_type>::type& tbb::flow::interface10::internal::output_port | ( | MOP & | op | ) |
Definition at line 644 of file flow_graph.h.
|
inline |
Spawns a task inside graph arena.
Non-preemptive priority pattern. The original task is submitted as a work item to the priority queue, and a new critical task is created to take and execute a work item with the highest known priority. The reference counting responsibility is transferred (via allocate_continuation) to the new task.
Non-preemptive priority pattern. The original task is submitted as a work item to the priority queue, and a new critical task is created to take and execute a work item with the highest known priority. The reference counting responsibility is transferred (via allocate_continuation) to the new task.
Definition at line 472 of file _flow_graph_impl.h.
References tbb::task::allocate_continuation(), execute_in_graph_arena(), tbb::internal::make_critical(), tbb::flow::interface10::graph::my_priority_queue, tbb::flow::internal::no_priority, tbb::flow::interface10::graph_task::priority, and tbb::interface5::concurrent_priority_queue< T, Compare, A >::push().
Referenced by internal::function_input< Input, Output, Policy, A >::apply_body_impl_bypass(), check_task_and_spawn(), internal::join_node_FE< reserving, InputTuple, OutputTuple >::decrement_port_count(), internal::join_node_FE< queueing, InputTuple, OutputTuple >::decrement_port_count(), internal::join_node_FE< key_matching< K, KHash >, InputTuple, OutputTuple >::fill_output_buffer(), tbb::flow::interface10::limiter_node< T >::forward_task(), internal::join_node_base< JP, InputTuple, OutputTuple >::handle_operations(), tbb::flow::interface10::limiter_node< T >::register_predecessor(), tbb::flow::interface10::limiter_node< T >::register_successor(), tbb::flow::interface10a::overwrite_node< T >::register_successor(), tbb::flow::interface10::graph::reset(), internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::spawn_forward_task(), and tbb::flow::interface10::source_node< Output >::spawn_put().