Home
last modified time | relevance | path

Searched refs:cl_mem (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/include/CL/
Dcl.h45 typedef struct _cl_mem * cl_mem; typedef
543 extern CL_API_ENTRY cl_mem CL_API_CALL
550 extern CL_API_ENTRY cl_mem CL_API_CALL
551 clCreateSubBuffer(cl_mem /* buffer */,
557 extern CL_API_ENTRY cl_mem CL_API_CALL
567 extern CL_API_ENTRY cl_mem CL_API_CALL
580 clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
583 clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
594 clGetMemObjectInfo(cl_mem /* memobj */,
601 clGetImageInfo(cl_mem /* image */,
[all …]
Dcl_gl.h61 extern CL_API_ENTRY cl_mem CL_API_CALL
67 extern CL_API_ENTRY cl_mem CL_API_CALL
75 extern CL_API_ENTRY cl_mem CL_API_CALL
83 extern CL_API_ENTRY cl_mem CL_API_CALL
90 clGetGLObjectInfo(cl_mem /* memobj */,
95 clGetGLTextureInfo(cl_mem /* memobj */,
104 const cl_mem * /* mem_objects */,
112 const cl_mem * /* mem_objects */,
Dcl_ext.h67 cl_int CL_API_ENTRY clSetMemObjectDestructorAPPLE( cl_mem /* memobj */,
68 … void (* /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/),
Dcl.hpp1045 struct ReferenceHandler<cl_mem>
1047 static cl_int retain(cl_mem memory) in retain()
1049 static cl_int release(cl_mem memory) in release()
1684 class Memory : public detail::Wrapper<cl_mem>
1722 void (CL_CALLBACK * pfn_notify)(cl_mem, void *), in setDestructorCallback() argument
1802 typedef CL_API_ENTRY cl_mem (CL_API_CALL *PFN_clCreateFromD3D10BufferKHR)(
2978 cl_mem * mems = (mem_objects != NULL && mem_objects->size() > 0) in enqueueNativeKernel()
2979 ? (cl_mem*) alloca(mem_objects->size() * sizeof(cl_mem)) in enqueueNativeKernel()
3026 (mem_objects != NULL) ? (const cl_mem *) &mem_objects->front(): NULL, in enqueueAcquireGLObjects()
3042 (mem_objects != NULL) ? (const cl_mem *) &mem_objects->front(): NULL, in enqueueReleaseGLObjects()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dmemory.cpp29 PUBLIC cl_mem
55 PUBLIC cl_mem
56 clCreateSubBuffer(cl_mem obj, cl_mem_flags flags, cl_buffer_create_type op, in clCreateSubBuffer()
93 PUBLIC cl_mem
128 PUBLIC cl_mem
194 clGetMemObjectInfo(cl_mem obj, cl_mem_info param, in clGetMemObjectInfo()
224 return scalar_property<cl_mem>(buf, size, size_ret, in clGetMemObjectInfo()
238 clGetImageInfo(cl_mem obj, cl_image_info param, in clGetImageInfo()
273 clRetainMemObject(cl_mem obj) { in clRetainMemObject()
282 clReleaseMemObject(cl_mem obj) { in clReleaseMemObject()
[all …]
Dtransfer.cpp57 validate_obj(cl_command_queue q, cl_mem obj) { in validate_obj()
138 clEnqueueReadBuffer(cl_command_queue q, cl_mem obj, cl_bool blocking, in clEnqueueReadBuffer()
163 clEnqueueWriteBuffer(cl_command_queue q, cl_mem obj, cl_bool blocking, in clEnqueueWriteBuffer()
188 clEnqueueReadBufferRect(cl_command_queue q, cl_mem obj, cl_bool blocking, in clEnqueueReadBufferRect()
219 clEnqueueWriteBufferRect(cl_command_queue q, cl_mem obj, cl_bool blocking, in clEnqueueWriteBufferRect()
250 clEnqueueCopyBuffer(cl_command_queue q, cl_mem src_obj, cl_mem dst_obj, in clEnqueueCopyBuffer()
272 clEnqueueCopyBufferRect(cl_command_queue q, cl_mem src_obj, cl_mem dst_obj, in clEnqueueCopyBufferRect()
300 clEnqueueReadImage(cl_command_queue q, cl_mem obj, cl_bool blocking, in clEnqueueReadImage()
330 clEnqueueWriteImage(cl_command_queue q, cl_mem obj, cl_bool blocking, in clEnqueueWriteImage()
360 clEnqueueCopyImage(cl_command_queue q, cl_mem src_obj, cl_mem dst_obj, in clEnqueueCopyImage()
[all …]
Dkernel.cpp321 cl_uint obj_count, const cl_mem *obj_list, in clEnqueueNativeKernel()
/external/skia/tools/skpdiff/
DSkDifferentPixelsMetric_opencl.cpp58 cl_mem baselineImage; in diff()
59 cl_mem testImage; in diff()
60 cl_mem resultsBuffer; in diff()
78 cl_int setArgErr = clSetKernelArg(fKernel, 0, sizeof(cl_mem), &baselineImage); in diff()
79 setArgErr |= clSetKernelArg(fKernel, 1, sizeof(cl_mem), &testImage); in diff()
80 setArgErr |= clSetKernelArg(fKernel, 2, sizeof(cl_mem), &resultsBuffer); in diff()
DSkCLImageDiffer.h83 bool makeImage2D(SkBitmap* bitmap, cl_mem* image) const;
DSkCLImageDiffer.cpp87 bool SkCLImageDiffer::makeImage2D(SkBitmap* bitmap, cl_mem* image) const { in makeImage2D()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dkernel.cpp221 if (size != sizeof(cl_mem)) in set()
224 obj = dynamic_cast<clover::buffer *>(*(cl_mem *)value); in set()
285 if (size != sizeof(cl_mem)) in set()
288 obj = dynamic_cast<clover::buffer *>(*(cl_mem *)value); in set()
315 if (size != sizeof(cl_mem)) in set()
318 obj = dynamic_cast<clover::image *>(*(cl_mem *)value); in set()
345 if (size != sizeof(cl_mem)) in set()
348 obj = dynamic_cast<clover::image *>(*(cl_mem *)value); in set()