Lines Matching refs:cl_mem

338         // Traditional cl_mem allocations
1649 struct ReferenceHandler<cl_mem>
1651 static cl_int retain(cl_mem memory)
1653 static cl_int release(cl_mem memory)
3310 /*! \brief Class interface for cl_mem.
3313 * to the same underlying cl_mem as the original. For details, see
3316 * \see cl_mem
3318 class Memory : public detail::Wrapper<cl_mem>
3324 /*! \brief Constructor from cl_mem - takes ownership.
3326 * Optionally transfer ownership of a refcount on the cl_mem
3335 explicit Memory(const cl_mem& memory, bool retainObject) :
3338 /*! \brief Assignment operator from cl_mem - takes ownership.
3343 Memory& operator = (const cl_mem& rhs)
3407 * Repeated calls to this function, for a given cl_mem value, will append
3412 * The registered callbacks are associated with the underlying cl_mem
3416 void (CL_CALLBACK * pfn_notify)(cl_mem, void *),
3933 /*! \brief Constructor from cl_mem - takes ownership.
3940 explicit Buffer(const cl_mem& buffer, bool retainObject = false) :
3943 /*! \brief Assignment from cl_mem - performs shallow copy.
3947 Buffer& operator = (const cl_mem& rhs)
4036 typedef CL_API_ENTRY cl_mem (CL_API_CALL *PFN_clCreateFromD3D10BufferKHR)(
4069 /*! \brief Constructor from cl_mem - takes ownership.
4076 explicit BufferD3D10(const cl_mem& buffer, bool retainObject = false) :
4079 /*! \brief Assignment from cl_mem - performs shallow copy.
4083 BufferD3D10& operator = (const cl_mem& rhs)
4158 /*! \brief Constructor from cl_mem - takes ownership.
4165 explicit BufferGL(const cl_mem& buffer, bool retainObject = false) :
4168 /*! \brief Assignment from cl_mem - performs shallow copy.
4172 BufferGL& operator = (const cl_mem& rhs)
4255 /*! \brief Constructor from cl_mem - takes ownership.
4262 explicit BufferRenderGL(const cl_mem& buffer, bool retainObject = false) :
4265 /*! \brief Assignment from cl_mem - performs shallow copy.
4269 BufferRenderGL& operator = (const cl_mem& rhs)
4326 /*! \brief Constructor from cl_mem - takes ownership.
4333 explicit Image(const cl_mem& image, bool retainObject = false) :
4336 /*! \brief Assignment from cl_mem - performs shallow copy.
4340 Image& operator = (const cl_mem& rhs)
4446 /*! \brief Constructor from cl_mem - takes ownership.
4453 explicit Image1D(const cl_mem& image1D, bool retainObject = false) :
4456 /*! \brief Assignment from cl_mem - performs shallow copy.
4460 Image1D& operator = (const cl_mem& rhs)
4534 /*! \brief Constructor from cl_mem - takes ownership.
4541 explicit Image1DBuffer(const cl_mem& image1D, bool retainObject = false) :
4544 Image1DBuffer& operator = (const cl_mem& rhs)
4622 /*! \brief Constructor from cl_mem - takes ownership.
4629 explicit Image1DArray(const cl_mem& imageArray, bool retainObject = false) :
4633 Image1DArray& operator = (const cl_mem& rhs)
4861 /*! \brief Constructor from cl_mem - takes ownership.
4868 explicit Image2D(const cl_mem& image2D, bool retainObject = false) :
4871 /*! \brief Assignment from cl_mem - performs shallow copy.
4875 Image2D& operator = (const cl_mem& rhs)
4957 /*! \brief Constructor from cl_mem - takes ownership.
4964 explicit Image2DGL(const cl_mem& image, bool retainObject = false) :
4967 /*! \brief Assignment from cl_mem - performs shallow copy.
4971 Image2DGL& operator = (const cl_mem& rhs)
5055 /*! \brief Constructor from cl_mem - takes ownership.
5062 explicit Image2DArray(const cl_mem& imageArray, bool retainObject = false) : Image(imageArray, retainObject) { }
5064 Image2DArray& operator = (const cl_mem& rhs)
5186 /*! \brief Constructor from cl_mem - takes ownership.
5193 explicit Image3D(const cl_mem& image3D, bool retainObject = false) :
5196 /*! \brief Assignment from cl_mem - performs shallow copy.
5200 Image3D& operator = (const cl_mem& rhs)
5278 /*! \brief Constructor from cl_mem - takes ownership.
5285 explicit Image3DGL(const cl_mem& image, bool retainObject = false) :
5288 /*! \brief Assignment from cl_mem - performs shallow copy.
5292 Image3DGL& operator = (const cl_mem& rhs)
5363 /*! \brief Constructor from cl_mem - takes ownership.
5370 explicit ImageGL(const cl_mem& image, bool retainObject = false) :
5373 ImageGL& operator = (const cl_mem& rhs)
5477 /*! \brief Constructor from cl_mem - takes ownership.
5484 explicit Pipe(const cl_mem& pipe, bool retainObject = false) :
5487 /*! \brief Assignment from cl_mem - performs shallow copy.
5491 Pipe& operator = (const cl_mem& rhs)
5786 // Enable for subclasses of memory where we want to get a reference to the cl_mem out
5791 static size_type size(const T&) { return sizeof(cl_mem); }
5792 static const cl_mem* ptr(const T& value) { return &(value()); }
6539 /*! \brief Constructor from cl_mem - takes ownership.
7435 /*! \brief Constructor from cl_mem - takes ownership.
8306 vector<cl_mem> localMemObjects(memObjects.size());
8512 vector<cl_mem> mems(elements);
8577 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,
8599 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,
8614 const cl_mem* mem_objects, cl_uint num_events_in_wait_list,
8618 const cl_mem* mem_objects, cl_uint num_events_in_wait_list,
8642 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,
8675 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,