Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <flow_graph_opencl_node.h>
Public Member Functions | |
opencl_memory () | |
opencl_memory (Factory &f) | |
~opencl_memory () | |
cl_mem | get_cl_mem () const |
void * | get_host_ptr () |
Factory * | factory () const |
opencl_async_msg< void *, Factory > | receive (const cl_event *e) |
opencl_async_msg< void *, Factory > | send (opencl_device device, const cl_event *e) |
virtual void | map_memory (opencl_device, opencl_async_msg< void *, Factory > &)=0 |
Protected Attributes | |
cl_mem | my_cl_mem |
tbb::atomic< opencl_device::device_id_type > | my_curr_device_id |
void * | my_host_ptr |
Factory * | my_factory |
tbb::spin_mutex | my_sending_lock |
bool | my_sending_event_present |
cl_event | my_sending_event |
Definition at line 500 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 502 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 503 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 507 of file flow_graph_opencl_node.h.
References tbb::flow::interface10::enforce_cl_retcode().
|
inline |
Definition at line 525 of file flow_graph_opencl_node.h.
|
inline |
Definition at line 512 of file flow_graph_opencl_node.h.
Referenced by tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_map_buffer(), and tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_unmap_buffer().
|
inline |
Definition at line 516 of file flow_graph_opencl_node.h.
References __TBB_ASSERT, and tbb::flow::interface10::opencl_async_msg< T, Factory >::data().
Referenced by tbb::flow::interface10::opencl_factory< default_device_filter >::enqueue_unmap_buffer().
|
pure virtual |
Implemented in tbb::flow::interface10::opencl_buffer_impl< Factory >.
|
inline |
Definition at line 527 of file flow_graph_opencl_node.h.
References d, tbb::flow::interface10::opencl_async_msg< T, Factory >::data(), tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_device::host, and tbb::relaxed.
|
inline |
Definition at line 549 of file flow_graph_opencl_node.h.
References __TBB_ASSERT, tbb::acquire, d, tbb::flow::interface10::enforce_cl_retcode(), tbb::flow::interface10::opencl_async_msg< T, Factory >::get_event(), lock, tbb::flow::interface10::opencl_device::my_device_id, tbb::relaxed, and tbb::release.
|
protected |
Definition at line 577 of file flow_graph_opencl_node.h.
|
protected |
Definition at line 578 of file flow_graph_opencl_node.h.
|
protected |
Definition at line 580 of file flow_graph_opencl_node.h.
|
protected |
Definition at line 579 of file flow_graph_opencl_node.h.
|
protected |
Definition at line 584 of file flow_graph_opencl_node.h.
|
protected |
Definition at line 583 of file flow_graph_opencl_node.h.
|
protected |
Definition at line 582 of file flow_graph_opencl_node.h.