Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <flow_graph_opencl_node.h>
Public Types | |
typedef T | value_type |
![]() | |
typedef T | async_msg_data_type |
Public Member Functions | |
opencl_async_msg () | |
opencl_async_msg (const T &data) | |
opencl_async_msg (const T &data, cl_event event) | |
T & | data (bool wait=true) |
const T & | data (bool wait=true) const |
opencl_async_msg (const opencl_async_msg &dmsg) | |
opencl_async_msg (opencl_async_msg &&dmsg) | |
opencl_async_msg & | operator= (const opencl_async_msg &dmsg) |
~opencl_async_msg () | |
cl_event const * | get_event () const |
void | set_event (cl_event e) const |
void | clear_event () const |
template<typename Callback > | |
void | register_callback (Callback c) const |
operator T& () | |
operator const T & () const | |
![]() | |
async_msg () | |
async_msg (const T &t) | |
async_msg (T &&t) | |
virtual | ~async_msg () |
void | set (const T &t) |
void | set (T &&t) |
Protected Member Functions | |
void | finalize () const __TBB_override |
Static Private Member Functions | |
static void CL_CALLBACK | register_callback_func (cl_event, cl_int event_command_exec_status, void *data) |
Private Attributes | |
T | my_data |
cl_event | my_event |
bool | my_is_event = false |
std::shared_ptr< tbb::atomic< bool > > | my_callback_flag_ptr |
Definition at line 355 of file flow_graph_opencl_node.h.
typedef T tbb::flow::interface10::opencl_async_msg< T, Factory >::value_type |
Definition at line 357 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 359 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_async_msg< T, Factory >::my_callback_flag_ptr, and tbb::relaxed.
|
inlineexplicit |
Definition at line 363 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_async_msg< T, Factory >::my_callback_flag_ptr, and tbb::relaxed.
|
inline |
Definition at line 367 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_callback_flag_ptr, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::relaxed.
|
inline |
Definition at line 390 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
|
inline |
Definition at line 398 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 424 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
|
inline |
Definition at line 442 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
Referenced by tbb::flow::interface10::opencl_async_msg< T, Factory >::finalize(), tbb::flow::interface10::opencl_buffer< T, Factory >::receive(), and tbb::flow::interface10::opencl_buffer< T, Factory >::send().
|
inline |
Definition at line 372 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_data, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
Referenced by tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_map_buffer(), tbb::flow::interface10::key_from_message(), tbb::flow::interface10::opencl_async_msg< T, Factory >::operator const T &(), tbb::flow::interface10::opencl_async_msg< T, Factory >::operator T&(), tbb::flow::interface10::opencl_factory< default_device_filter >::process_one_arg(), tbb::flow::interface10::opencl_buffer< T, Factory >::receive(), tbb::flow::interface10::receive_if_memory_object(), tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback_func(), tbb::flow::interface10::opencl_buffer< T, Factory >::send(), and tbb::flow::interface10::send_if_memory_object().
|
inline |
Definition at line 381 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_data, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
|
inlineprotectedvirtual |
Reimplemented from tbb::flow::interface10::async_msg< T >.
Definition at line 462 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_async_msg< T, Factory >::clear_event(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_callback_flag_ptr, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_data, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event, tbb::flow::interface10::receive_if_memory_object(), tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback(), and tbb::flow::interface10::async_msg< T >::set().
|
inline |
Definition at line 429 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
Referenced by tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_map_buffer(), tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_unmap_buffer(), tbb::flow::interface10::opencl_factory< default_device_filter >::get_event_from_one_arg(), tbb::flow::interface10::opencl_factory< default_device_filter >::process_one_arg(), tbb::flow::interface10::opencl_buffer< T, Factory >::receive(), tbb::flow::interface10::receive_if_memory_object(), tbb::flow::interface10::opencl_buffer< T, Factory >::send(), and tbb::flow::interface10::send_if_memory_object().
|
inline |
Definition at line 457 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_async_msg< T, Factory >::data().
|
inline |
Definition at line 456 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::opencl_async_msg< T, Factory >::data().
|
inline |
Definition at line 405 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_callback_flag_ptr, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_data, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
|
inline |
Definition at line 451 of file flow_graph_opencl_node.h.
References __TBB_ASSERT, tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_data, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback_func().
Referenced by tbb::flow::interface10::opencl_async_msg< T, Factory >::finalize().
|
inlinestaticprivate |
Definition at line 479 of file flow_graph_opencl_node.h.
References __TBB_ASSERT, tbb::flow::interface10::callback_base::call(), tbb::flow::interface10::opencl_async_msg< T, Factory >::data(), and tbb::internal::suppress_unused_warning().
Referenced by tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback().
|
inline |
Definition at line 430 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::my_event, and tbb::flow::interface10::opencl_async_msg< T, Factory >::my_is_event.
Referenced by tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_map_buffer(), tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_unmap_buffer(), tbb::flow::interface10::opencl_buffer< T, Factory >::receive(), tbb::flow::interface10::receive_if_memory_object(), tbb::flow::interface10::opencl_buffer< T, Factory >::send(), tbb::flow::interface10::send_if_memory_object(), and tbb::flow::interface10::opencl_factory< default_device_filter >::update_one_arg().
|
private |
|
private |
Definition at line 488 of file flow_graph_opencl_node.h.
Referenced by tbb::flow::interface10::opencl_async_msg< T, Factory >::data(), tbb::flow::interface10::opencl_async_msg< T, Factory >::finalize(), tbb::flow::interface10::opencl_async_msg< T, Factory >::operator=(), and tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback().
|
mutableprivate |
Definition at line 489 of file flow_graph_opencl_node.h.
Referenced by tbb::flow::interface10::opencl_async_msg< T, Factory >::clear_event(), tbb::flow::interface10::opencl_async_msg< T, Factory >::data(), tbb::flow::interface10::opencl_async_msg< T, Factory >::get_event(), tbb::flow::interface10::opencl_async_msg< T, Factory >::opencl_async_msg(), tbb::flow::interface10::opencl_async_msg< T, Factory >::operator=(), tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback(), tbb::flow::interface10::opencl_async_msg< T, Factory >::set_event(), and tbb::flow::interface10::opencl_async_msg< T, Factory >::~opencl_async_msg().
|
mutableprivate |
Definition at line 490 of file flow_graph_opencl_node.h.
Referenced by tbb::flow::interface10::opencl_async_msg< T, Factory >::clear_event(), tbb::flow::interface10::opencl_async_msg< T, Factory >::data(), tbb::flow::interface10::opencl_async_msg< T, Factory >::finalize(), tbb::flow::interface10::opencl_async_msg< T, Factory >::get_event(), tbb::flow::interface10::opencl_async_msg< T, Factory >::opencl_async_msg(), tbb::flow::interface10::opencl_async_msg< T, Factory >::operator=(), tbb::flow::interface10::opencl_async_msg< T, Factory >::register_callback(), tbb::flow::interface10::opencl_async_msg< T, Factory >::set_event(), and tbb::flow::interface10::opencl_async_msg< T, Factory >::~opencl_async_msg().