Public Types | Public Member Functions | Friends | List of all members
tbb::flow::interface8::opencl_buffer< T, Factory > Class Template Reference

Public Types

typedef cl_mem native_object_type
 
typedef opencl_buffer memory_object_type
 
typedef Factory opencl_factory_type
 
template<access_type a>
using iterator = T *
 

Public Member Functions

template<access_type a>
iterator< a > access () const
 
T * data () const
 
template<access_type a = read_write>
iterator< a > begin () const
 
template<access_type a = read_write>
iterator< a > end () const
 
size_t size () const
 
T & operator[] (ptrdiff_t k)
 
 opencl_buffer (opencl_graph &g, size_t size)
 
 opencl_buffer (Factory &f, size_t size)
 
cl_mem native_object () const
 
const opencl_buffermemory_object () const
 
void send (opencl_device device, dependency_msg< opencl_buffer, Factory > &dependency) const
 
void receive (const dependency_msg< opencl_buffer, Factory > &dependency) const
 

Friends

template<typename >
class opencl_factory
 
bool operator== (const opencl_buffer< T, Factory > &lhs, const opencl_buffer< T, Factory > &rhs)
 

The documentation for this class was generated from the following file:

Copyright © 2005-2015 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.