Memory interface for cl_mem. More...
#include <cl.hpp>
Public Member Functions | |
Memory () | |
Memory (const Memory &memory) | |
Memory (const cl_mem &memory) | |
Memory & | operator= (const Memory &rhs) |
Memory & | operator= (const cl_mem &rhs) |
template<typename T > | |
cl_int | getInfo (cl_mem_info name, T *param) const |
template<cl_int name> | |
detail::param_traits < detail::cl_mem_info, name > ::param_type | getInfo (cl_int *err=NULL) const |
cl::Memory::Memory | ( | ) | [inline] |
cl::Memory::Memory | ( | const Memory & | memory | ) | [inline] |
cl::Memory::Memory | ( | const cl_mem & | memory | ) | [inline] |
cl_int cl::Memory::getInfo | ( | cl_mem_info | name, |
T * | param | ||
) | const [inline] |
Definition at line 2012 of file cl.hpp.
{ return detail::errHandler( detail::getInfo(&::clGetMemObjectInfo, object_, name, param), __GET_MEM_OBJECT_INFO_ERR); }
detail::param_traits<detail::cl_mem_info, name>::param_type cl::Memory::getInfo | ( | cl_int * | err = NULL | ) | const [inline] |
Definition at line 1997 of file cl.hpp.
{ if (this != &rhs) { detail::Wrapper<cl_type>::operator=(rhs); } return *this; }
Memory& cl::Memory::operator= | ( | const cl_mem & | rhs | ) | [inline] |
Reimplemented from cl::detail::Wrapper< cl_mem >.
Reimplemented in cl::Image3DGL, cl::Image3D, cl::Image2DGL, cl::Image2D, cl::Image, cl::BufferRenderGL, cl::BufferGL, and cl::Buffer.
Definition at line 2005 of file cl.hpp.
{ detail::Wrapper<cl_type>::operator=(rhs); return *this; }