Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Namespaces | |
internal | |
opencl_info | |
Enumerations | |
enum | access_type { read_write, write_only, read_only } |
enum | opencl_program_type { opencl_program_type::SOURCE, opencl_program_type::PRECOMPILED, opencl_program_type::SPIR } |
enum | reset_flags { rf_reset_protocol = 0, rf_reset_bodies = 1 << 0, rf_clear_edges = 1 << 1 } |
Functions | |
static tbb::task * | combine_tasks (graph &g, tbb::task *left, tbb::task *right) |
void | internal_make_edge (internal::untyped_sender &p, internal::untyped_receiver &s) |
template<typename T > | |
void | make_edge (sender< T > &p, receiver< T > &s) |
Makes an edge between a single predecessor and a single successor. More... | |
template<typename TS , typename TR , typename = typename tbb::internal::enable_if<tbb::internal::is_same_type<TS, internal::untyped_sender>::value || tbb::internal::is_same_type<TR, internal::untyped_receiver>::value>::type> | |
void | make_edge (TS &p, TR &s) |
template<typename T > | |
void | make_edge (sender< T > &p, receiver< typename T::async_msg_data_type > &s) |
template<typename T > | |
void | make_edge (sender< typename T::async_msg_data_type > &p, receiver< T > &s) |
template<typename T , typename V , typename = typename T::output_ports_type, typename = typename V::input_ports_type> | |
void | make_edge (T &output, V &input) |
template<typename T , typename R , typename = typename T::output_ports_type> | |
void | make_edge (T &output, receiver< R > &input) |
template<typename S , typename V , typename = typename V::input_ports_type> | |
void | make_edge (sender< S > &output, V &input) |
void | internal_remove_edge (internal::untyped_sender &p, internal::untyped_receiver &s) |
template<typename T > | |
void | remove_edge (sender< T > &p, receiver< T > &s) |
Removes an edge between a single predecessor and a single successor. More... | |
template<typename TS , typename TR , typename = typename tbb::internal::enable_if<tbb::internal::is_same_type<TS, internal::untyped_sender>::value || tbb::internal::is_same_type<TR, internal::untyped_receiver>::value>::type> | |
void | remove_edge (TS &p, TR &s) |
template<typename T > | |
void | remove_edge (sender< T > &p, receiver< typename T::async_msg_data_type > &s) |
template<typename T > | |
void | remove_edge (sender< typename T::async_msg_data_type > &p, receiver< T > &s) |
template<typename T , typename V , typename = typename T::output_ports_type, typename = typename V::input_ports_type> | |
void | remove_edge (T &output, V &input) |
template<typename T , typename R , typename = typename T::output_ports_type> | |
void | remove_edge (T &output, receiver< R > &input) |
template<typename S , typename V , typename = typename V::input_ports_type> | |
void | remove_edge (sender< S > &output, V &input) |
template<typename Body , typename Node > | |
Body | copy_body (Node &n) |
Returns a copy of the body from a function or continue node. More... | |
template<int N1, int N2 = N1> | |
__TBB_DEPRECATED internal::port_ref_impl< N1, N2 > | port_ref () |
void | enforce_cl_retcode (cl_int err, std::string msg) |
template<typename T > | |
T | event_info (cl_event e, cl_event_info i) |
template<typename T > | |
T | device_info (cl_device_id d, cl_device_info i) |
template<> | |
std::string | device_info< std::string > (cl_device_id d, cl_device_info i) |
template<typename T > | |
T | platform_info (cl_platform_id p, cl_platform_info i) |
template<> | |
std::string | platform_info< std::string > (cl_platform_id p, cl_platform_info i) |
template<typename K , typename T , typename Factory > | |
K | key_from_message (const opencl_async_msg< T, Factory > &dmsg) |
is_typedef (native_object_type) | |
is_typedef (memory_object_type) | |
template<typename T > | |
std::enable_if< is_native_object_type< T >::value, typename T::native_object_type >::type | get_native_object (const T &t) |
template<typename T > | |
std::enable_if<!is_native_object_type< T >::value, T >::type | get_native_object (T t) |
template<typename T , typename Factory > | |
std::enable_if< is_memory_object_type< T >::value >::type | send_if_memory_object (opencl_device device, opencl_async_msg< T, Factory > &dmsg) |
template<typename T > | |
std::enable_if< is_memory_object_type< T >::value >::type | send_if_memory_object (opencl_device device, T &t) |
template<typename T > | |
std::enable_if<!is_memory_object_type< T >::value >::type | send_if_memory_object (opencl_device, T &) |
template<typename T , typename Factory > | |
std::enable_if< is_memory_object_type< T >::value >::type | receive_if_memory_object (const opencl_async_msg< T, Factory > &dmsg) |
template<typename T > | |
std::enable_if<!is_memory_object_type< T >::value >::type | receive_if_memory_object (const T &) |
Variables | |
template<typename T > | |
class __TBB_DEPRECATED | async_msg |
template<typename... Args> | |
class __TBB_DEPRECATED | streaming_node |
template<typename T , typename Factory = opencl_info::default_opencl_factory> | |
class __TBB_DEPRECATED_IN_VERBOSE_MODE | opencl_subbuffer |
template<typename... Args> | |
class __TBB_DEPRECATED_IN_VERBOSE_MODE | opencl_node |
|
strong |
Enumerator | |
---|---|
SOURCE | |
PRECOMPILED | |
SPIR |
Definition at line 1228 of file flow_graph_opencl_node.h.
Enumerator | |
---|---|
rf_reset_protocol | |
rf_reset_bodies | |
rf_clear_edges |
Definition at line 158 of file _flow_graph_impl.h.
|
inlinestatic |
Definition at line 199 of file flow_graph.h.
Referenced by internal::function_input< Input, Output, Policy, A >::apply_body_impl_bypass(), internal::function_input_base< Input, Policy, A, multifunction_input< Input, OutputPortSet, Policy, A > >::forward_task(), tbb::flow::interface11::buffer_node< T, Allocator >::forward_task(), internal::join_node_base< JP, InputTuple, OutputTuple >::handle_operations(), tbb::flow::interface11::buffer_node< T, Allocator >::handle_operations_impl(), tbb::flow::interface11::buffer_node< T, Allocator >::try_put_and_add_task(), tbb::flow::interface11::queue_node< T, Allocator >::try_put_and_add_task(), tbb::flow::interface11::priority_queue_node< T, Compare, Allocator >::try_put_and_add_task(), and internal::broadcast_cache< output_type >::try_put_task().
Body tbb::flow::interface11::copy_body | ( | Node & | n | ) |
Returns a copy of the body from a function or continue node.
Definition at line 3969 of file flow_graph.h.
T tbb::flow::interface11::device_info | ( | cl_device_id | d, |
cl_device_info | i | ||
) |
Definition at line 83 of file flow_graph_opencl_node.h.
References d, and enforce_cl_retcode().
|
inline |
Definition at line 90 of file flow_graph_opencl_node.h.
References d, and enforce_cl_retcode().
|
inline |
Definition at line 68 of file flow_graph_opencl_node.h.
Referenced by tbb::flow::interface11::opencl_async_msg< T, Factory >::clear_event(), tbb::flow::interface11::opencl_async_msg< T, Factory >::data(), device_info(), device_info< std::string >(), tbb::flow::interface11::opencl_factory< default_device_filter >::enqueue_map_buffer(), tbb::flow::interface11::opencl_factory< default_device_filter >::enqueue_unmap_buffer(), event_info(), tbb::flow::interface11::opencl_factory< default_device_filter >::finalize(), tbb::flow::interface11::internal::find_available_devices(), tbb::flow::interface11::opencl_program< Factory >::get_cl_kernel(), tbb::flow::interface11::opencl_program< Factory >::init(), tbb::flow::interface11::opencl_factory< default_device_filter >::init_once(), tbb::flow::interface11::opencl_factory< DeviceFilter >::kernel::kernel(), tbb::flow::interface11::opencl_async_msg< T, Factory >::opencl_async_msg(), tbb::flow::interface11::opencl_buffer_impl< Factory >::opencl_buffer_impl(), tbb::flow::interface11::opencl_program< Factory >::opencl_device_filter::opencl_device_filter(), tbb::flow::interface11::opencl_program< Factory >::opencl_program_builder::opencl_program_builder(), tbb::flow::interface11::opencl_async_msg< T, Factory >::operator=(), platform_info(), platform_info< std::string >(), tbb::flow::interface11::opencl_factory< default_device_filter >::process_one_arg(), tbb::flow::interface11::opencl_memory< Factory >::receive(), tbb::flow::interface11::opencl_async_msg< T, Factory >::register_callback(), tbb::flow::interface11::opencl_memory< Factory >::send(), tbb::flow::interface11::opencl_factory< default_device_filter >::send_kernel(), tbb::flow::interface11::opencl_factory< default_device_filter >::send_kernel_impl(), tbb::flow::interface11::opencl_async_msg< T, Factory >::set_event(), tbb::flow::interface11::opencl_factory< DeviceFilter >::kernel::~kernel(), tbb::flow::interface11::opencl_async_msg< T, Factory >::~opencl_async_msg(), tbb::flow::interface11::opencl_factory< default_device_filter >::~opencl_factory(), and tbb::flow::interface11::opencl_memory< Factory >::~opencl_memory().
T tbb::flow::interface11::event_info | ( | cl_event | e, |
cl_event_info | i | ||
) |
Definition at line 76 of file flow_graph_opencl_node.h.
References enforce_cl_retcode().
std::enable_if<is_native_object_type<T>::value, typename T::native_object_type>::type tbb::flow::interface11::get_native_object | ( | const T & | t | ) |
Definition at line 749 of file flow_graph_opencl_node.h.
Referenced by tbb::flow::interface11::opencl_factory< default_device_filter >::process_one_arg().
std::enable_if<!is_native_object_type<T>::value, T>::type tbb::flow::interface11::get_native_object | ( | T | t | ) |
Definition at line 754 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 3823 of file flow_graph.h.
References tbb::internal::fgt_make_edge(), p, and s.
Referenced by make_edge().
|
inline |
Definition at line 3886 of file flow_graph.h.
References tbb::internal::fgt_remove_edge(), p, and s.
Referenced by remove_edge().
tbb::flow::interface11::is_typedef | ( | native_object_type | ) |
tbb::flow::interface11::is_typedef | ( | memory_object_type | ) |
K tbb::flow::interface11::key_from_message | ( | const opencl_async_msg< T, Factory > & | dmsg | ) |
Definition at line 506 of file flow_graph_opencl_node.h.
References __TBB_STATIC_ASSERT, tbb::flow::interface11::opencl_async_msg< T, Factory >::data(), and tbb::flow::key_from_message().
|
inline |
Makes an edge between a single predecessor and a single successor.
Definition at line 3838 of file flow_graph.h.
References internal_make_edge(), p, and s.
Referenced by make_edge(), streaming_node< tuple< Ports... >, JP, StreamFactory >::make_edges(), and streaming_node< tuple< Ports... >, JP, StreamFactory >::make_Nth_edge().
|
inline |
Definition at line 3846 of file flow_graph.h.
References internal_make_edge(), p, and s.
|
inline |
Definition at line 3851 of file flow_graph.h.
References internal_make_edge(), p, and s.
|
inline |
Definition at line 3856 of file flow_graph.h.
References internal_make_edge(), p, and s.
|
inline |
Definition at line 3866 of file flow_graph.h.
References make_edge().
|
inline |
Definition at line 3873 of file flow_graph.h.
References make_edge().
|
inline |
Definition at line 3880 of file flow_graph.h.
References make_edge().
T tbb::flow::interface11::platform_info | ( | cl_platform_id | p, |
cl_platform_info | i | ||
) |
Definition at line 101 of file flow_graph_opencl_node.h.
References enforce_cl_retcode(), and p.
|
inline |
Definition at line 108 of file flow_graph_opencl_node.h.
References enforce_cl_retcode(), and p.
__TBB_DEPRECATED internal::port_ref_impl<N1,N2> tbb::flow::interface11::port_ref | ( | ) |
Definition at line 42 of file flow_graph.h.
std::enable_if<is_memory_object_type<T>::value>::type tbb::flow::interface11::receive_if_memory_object | ( | const opencl_async_msg< T, Factory > & | dmsg | ) |
Definition at line 783 of file flow_graph_opencl_node.h.
References d, tbb::flow::interface11::opencl_async_msg< T, Factory >::data(), tbb::flow::interface11::opencl_async_msg< T, Factory >::get_event(), and tbb::flow::interface11::opencl_async_msg< T, Factory >::set_event().
Referenced by tbb::flow::interface11::opencl_async_msg< T, Factory >::finalize().
std::enable_if<!is_memory_object_type<T>::value>::type tbb::flow::interface11::receive_if_memory_object | ( | const T & | ) |
Definition at line 794 of file flow_graph_opencl_node.h.
|
inline |
Removes an edge between a single predecessor and a single successor.
Definition at line 3902 of file flow_graph.h.
References internal_remove_edge(), p, and s.
Referenced by remove_edge().
|
inline |
Definition at line 3910 of file flow_graph.h.
References internal_remove_edge(), p, and s.
|
inline |
Definition at line 3915 of file flow_graph.h.
References internal_remove_edge(), p, and s.
|
inline |
Definition at line 3920 of file flow_graph.h.
References internal_remove_edge(), p, and s.
|
inline |
Definition at line 3929 of file flow_graph.h.
References remove_edge().
|
inline |
Definition at line 3936 of file flow_graph.h.
References remove_edge().
|
inline |
Definition at line 3942 of file flow_graph.h.
References remove_edge().
std::enable_if<is_memory_object_type<T>::value>::type tbb::flow::interface11::send_if_memory_object | ( | opencl_device | device, |
opencl_async_msg< T, Factory > & | dmsg | ||
) |
Definition at line 760 of file flow_graph_opencl_node.h.
References d, tbb::flow::interface11::opencl_async_msg< T, Factory >::data(), tbb::flow::interface11::opencl_async_msg< T, Factory >::get_event(), and tbb::flow::interface11::opencl_async_msg< T, Factory >::set_event().
Referenced by tbb::flow::interface11::opencl_factory< default_device_filter >::send_data().
std::enable_if<is_memory_object_type<T>::value>::type tbb::flow::interface11::send_if_memory_object | ( | opencl_device | device, |
T & | t | ||
) |
Definition at line 771 of file flow_graph_opencl_node.h.
std::enable_if<!is_memory_object_type<T>::value>::type tbb::flow::interface11::send_if_memory_object | ( | opencl_device | , |
T & | |||
) |
Definition at line 779 of file flow_graph_opencl_node.h.
class __TBB_DEPRECATED tbb::flow::interface11::async_msg |
Definition at line 216 of file flow_graph.h.
class __TBB_DEPRECATED_IN_VERBOSE_MODE tbb::flow::interface11::opencl_node |
Definition at line 1418 of file flow_graph_opencl_node.h.
class __TBB_DEPRECATED_IN_VERBOSE_MODE tbb::flow::interface11::opencl_subbuffer |
Definition at line 640 of file flow_graph_opencl_node.h.
class __TBB_DEPRECATED tbb::flow::interface11::streaming_node |
Definition at line 303 of file flow_graph.h.