Lines Matching refs:cl_mem
1726 struct ReferenceHandler<cl_mem>
1728 static cl_int retain(cl_mem memory)
1730 static cl_int release(cl_mem memory)
3039 /*! \brief Class interface for cl_mem.
3042 * to the same underlying cl_mem as the original. For details, see
3045 * \see cl_mem
3047 class Memory : public detail::Wrapper<cl_mem>
3053 /*! \brief Constructor from cl_mem - takes ownership.
3055 * This effectively transfers ownership of a refcount on the cl_mem
3058 __CL_EXPLICIT_CONSTRUCTORS Memory(const cl_mem& memory) : detail::Wrapper<cl_type>(memory) { }
3060 /*! \brief Assignment operator from cl_mem - takes ownership.
3065 Memory& operator = (const cl_mem& rhs)
3130 * Repeated calls to this function, for a given cl_mem value, will append
3135 * The registered callbacks are associated with the underlying cl_mem
3139 void (CL_CALLBACK * pfn_notify)(cl_mem, void *),
3296 /*! \brief Constructor from cl_mem - takes ownership.
3300 __CL_EXPLICIT_CONSTRUCTORS Buffer(const cl_mem& buffer) : Memory(buffer) { }
3302 /*! \brief Assignment from cl_mem - performs shallow copy.
3306 Buffer& operator = (const cl_mem& rhs)
3384 typedef CL_API_ENTRY cl_mem (CL_API_CALL *PFN_clCreateFromD3D10BufferKHR)(
3431 /*! \brief Constructor from cl_mem - takes ownership.
3435 __CL_EXPLICIT_CONSTRUCTORS BufferD3D10(const cl_mem& buffer) : Buffer(buffer) { }
3437 /*! \brief Assignment from cl_mem - performs shallow copy.
3441 BufferD3D10& operator = (const cl_mem& rhs)
3517 /*! \brief Constructor from cl_mem - takes ownership.
3521 __CL_EXPLICIT_CONSTRUCTORS BufferGL(const cl_mem& buffer) : Buffer(buffer) { }
3523 /*! \brief Assignment from cl_mem - performs shallow copy.
3527 BufferGL& operator = (const cl_mem& rhs)
3586 /*! \brief Constructor from cl_mem - takes ownership.
3590 __CL_EXPLICIT_CONSTRUCTORS Image(const cl_mem& image) : Memory(image) { }
3592 /*! \brief Assignment from cl_mem - performs shallow copy.
3596 Image& operator = (const cl_mem& rhs)
3703 /*! \brief Constructor from cl_mem - takes ownership.
3707 __CL_EXPLICIT_CONSTRUCTORS Image1D(const cl_mem& image1D) : Image(image1D) { }
3709 /*! \brief Assignment from cl_mem - performs shallow copy.
3713 Image1D& operator = (const cl_mem& rhs)
3788 __CL_EXPLICIT_CONSTRUCTORS Image1DBuffer(const cl_mem& image1D) : Image(image1D) { }
3790 Image1DBuffer& operator = (const cl_mem& rhs)
3869 __CL_EXPLICIT_CONSTRUCTORS Image1DArray(const cl_mem& imageArray) : Image(imageArray) { }
3871 Image1DArray& operator = (const cl_mem& rhs)
3991 /*! \brief Constructor from cl_mem - takes ownership.
3995 __CL_EXPLICIT_CONSTRUCTORS Image2D(const cl_mem& image2D) : Image(image2D) { }
3997 /*! \brief Assignment from cl_mem - performs shallow copy.
4001 Image2D& operator = (const cl_mem& rhs)
4084 /*! \brief Constructor from cl_mem - takes ownership.
4088 __CL_EXPLICIT_CONSTRUCTORS Image2DGL(const cl_mem& image) : Image2D(image) { }
4090 /*! \brief Assignment from cl_mem - performs shallow copy.
4094 Image2DGL& operator = (const cl_mem& rhs)
4179 __CL_EXPLICIT_CONSTRUCTORS Image2DArray(const cl_mem& imageArray) : Image(imageArray) { }
4181 Image2DArray& operator = (const cl_mem& rhs)
4305 /*! \brief Constructor from cl_mem - takes ownership.
4309 __CL_EXPLICIT_CONSTRUCTORS Image3D(const cl_mem& image3D) : Image(image3D) { }
4311 /*! \brief Assignment from cl_mem - performs shallow copy.
4315 Image3D& operator = (const cl_mem& rhs)
4395 /*! \brief Constructor from cl_mem - takes ownership.
4399 __CL_EXPLICIT_CONSTRUCTORS Image3DGL(const cl_mem& image) : Image3D(image) { }
4401 /*! \brief Assignment from cl_mem - performs shallow copy.
4405 Image3DGL& operator = (const cl_mem& rhs)
4478 __CL_EXPLICIT_CONSTRUCTORS ImageGL(const cl_mem& image) : Image(image) { }
4480 ImageGL& operator = (const cl_mem& rhs)
4565 /*! \brief Constructor from cl_mem - takes ownership.
4570 __CL_EXPLICIT_CONSTRUCTORS BufferRenderGL(const cl_mem& buffer) : ImageGL(buffer) { }
4572 __CL_EXPLICIT_CONSTRUCTORS BufferRenderGL(const cl_mem& buffer) : Image2DGL(buffer) { }
4576 /*! \brief Assignment from cl_mem - performs shallow copy.
4580 BufferRenderGL& operator = (const cl_mem& rhs)
6333 cl_mem* localMemObjects = static_cast<cl_mem*>(alloca(memObjects.size() * sizeof(cl_mem)));
6343 static_cast<const cl_mem*>(localMemObjects),
6411 cl_mem * mems = (mem_objects != NULL && mem_objects->size() > 0)
6412 ? (cl_mem*) alloca(mem_objects->size() * sizeof(cl_mem))
6481 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,
6503 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,
6518 const cl_mem* mem_objects, cl_uint num_events_in_wait_list,
6522 const cl_mem* mem_objects, cl_uint num_events_in_wait_list,
6546 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,
6579 (mem_objects != NULL && mem_objects->size() > 0) ? (const cl_mem *) &mem_objects->front(): NULL,