OpenCL C++ Bindings
cl::detail::Wrapper< cl_device_id > Class Reference
Inheritance diagram for cl::detail::Wrapper< cl_device_id >:
cl::Device

Public Types

typedef cl_device_id cl_type
 

Public Member Functions

 Wrapper (const cl_type &obj, bool retainObject)
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 Wrapper (Wrapper< cl_type > &&rhs) CL_HPP_NOEXCEPT_
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (Wrapper< cl_type > &&rhs)
 
Wrapper< cl_type > & operator= (const cl_type &rhs)
 
const cl_type & operator() () const
 
cl_type & operator() ()
 
cl_type get () const
 

Protected Member Functions

cl_int retain () const
 
cl_int release () const
 

Static Protected Member Functions

static bool isReferenceCountable (cl_device_id device)
 

Protected Attributes

cl_type object_
 
bool referenceCountable_
 

Friends

template<typename Func , typename U >
cl_int getInfoHelper (Func, cl_uint, U *, int, typename U::cl_type)
 
template<typename Func , typename U >
cl_int getInfoHelper (Func, cl_uint, vector< U > *, int, typename U::cl_type)
 

Detailed Description

Definition at line 1892 of file opencl.hpp.


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