Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp118 CL_API_ENTRY cl_mem (CL_API_CALL *clCreateBuffer)(
125 CL_API_ENTRY cl_mem (CL_API_CALL *clCreateImage2D)(
135 CL_API_ENTRY cl_mem (CL_API_CALL *clCreateImage3D)(
148 cl_mem memobj);
151 cl_mem memobj);
162 cl_mem memobj,
169 cl_mem image,
313 cl_mem buffer,
324 cl_mem buffer,
335 cl_mem src_buffer,
[all …]
Dmemory.cpp32 validate_flags(cl_mem d_parent, cl_mem_flags d_flags) { in validate_flags()
72 CLOVER_API cl_mem
96 CLOVER_API cl_mem
97 clCreateSubBuffer(cl_mem d_mem, cl_mem_flags d_flags, in clCreateSubBuffer()
126 CLOVER_API cl_mem
217 CLOVER_API cl_mem
228 CLOVER_API cl_mem
267 clGetMemObjectInfo(cl_mem d_mem, cl_mem_info param, in clGetMemObjectInfo()
303 buf.as_scalar<cl_mem>() = (sub ? desc(sub->parent()) : NULL); in clGetMemObjectInfo()
322 clGetImageInfo(cl_mem d_mem, cl_image_info param, in clGetImageInfo()
[all …]
Dtransfer.cpp276 clEnqueueReadBuffer(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueReadBuffer()
309 clEnqueueWriteBuffer(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueWriteBuffer()
342 clEnqueueReadBufferRect(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueReadBufferRect()
382 clEnqueueWriteBufferRect(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueWriteBufferRect()
422 clEnqueueCopyBuffer(cl_command_queue d_q, cl_mem d_src_mem, cl_mem d_dst_mem, in clEnqueueCopyBuffer()
455 clEnqueueCopyBufferRect(cl_command_queue d_q, cl_mem d_src_mem, in clEnqueueCopyBufferRect()
456 cl_mem d_dst_mem, in clEnqueueCopyBufferRect()
493 clEnqueueReadImage(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueReadImage()
530 clEnqueueWriteImage(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueWriteImage()
567 clEnqueueCopyImage(cl_command_queue d_q, cl_mem d_src_mem, cl_mem d_dst_mem, in clEnqueueCopyImage()
[all …]
/external/mesa3d/include/CL/
Dcl.h43 typedef struct _cl_mem * cl_mem; typedef
107 cl_mem buffer;
660 extern CL_API_ENTRY cl_mem CL_API_CALL
667 extern CL_API_ENTRY cl_mem CL_API_CALL
668 clCreateSubBuffer(cl_mem /* buffer */,
674 extern CL_API_ENTRY cl_mem CL_API_CALL
683 clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
686 clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
697 clGetMemObjectInfo(cl_mem /* memobj */,
704 clGetImageInfo(cl_mem /* image */,
[all …]
Dcl_gl.h58 extern CL_API_ENTRY cl_mem CL_API_CALL
64 extern CL_API_ENTRY cl_mem CL_API_CALL
72 extern CL_API_ENTRY cl_mem CL_API_CALL
79 clGetGLObjectInfo(cl_mem /* memobj */,
84 clGetGLTextureInfo(cl_mem /* memobj */,
93 const cl_mem * /* mem_objects */,
101 const cl_mem * /* mem_objects */,
108 extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem CL_API_CALL
116 extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem CL_API_CALL
Dcl_egl.h64 extern CL_API_ENTRY cl_mem CL_API_CALL
72 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromEGLImageKHR_fn)(
84 const cl_mem * /* mem_objects */,
92 const cl_mem * mem_objects,
101 const cl_mem * /* mem_objects */,
109 const cl_mem * mem_objects,
Dcl_d3d11.h85 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D11BufferKHR_fn)(
91 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D11Texture2DKHR_fn)(
98 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D11Texture3DKHR_fn)(
108 const cl_mem * mem_objects,
116 const cl_mem * mem_objects,
Dcl_d3d10.h85 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D10BufferKHR_fn)(
91 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D10Texture2DKHR_fn)(
98 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D10Texture3DKHR_fn)(
108 const cl_mem * mem_objects,
116 const cl_mem * mem_objects,
Dcl_dx9_media_sharing.h98 typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromDX9MediaSurfaceKHR_fn)(
109 const cl_mem * mem_objects,
117 const cl_mem * mem_objects,
/external/libxcam/modules/ocl/intel/
Dcl_intel_context.cpp38 cl_mem
41 cl_mem mem_id = NULL; in create_va_buffer()
59 cl_mem
62 cl_mem mem_id = NULL; in import_dma_buffer()
81 cl_mem
84 cl_mem mem_id = NULL; in create_va_image()
102 cl_mem
105 cl_mem mem_id = NULL; in import_dma_image()
125 CLIntelContext::export_mem_fd (cl_mem mem_id) in export_mem_fd()
Dcl_intel_context.h43 cl_mem create_va_buffer (uint32_t bo_name);
44 cl_mem import_dma_buffer (const cl_import_buffer_info_intel &import_info);
45 cl_mem create_va_image (const cl_libva_image &image_info);
46 cl_mem import_dma_image (const cl_import_image_info_intel &image_info);
48 int32_t export_mem_fd (cl_mem mem_id);
/external/libxcam/modules/ocl/
Dcl_context.h117 cl_mem create_image (
120 void destroy_mem (cl_mem mem_id);
123 cl_mem create_buffer (uint32_t size, cl_mem_flags flags, void *host_ptr);
125 cl_mem create_sub_buffer (
126 cl_mem main_mem,
131 cl_mem buf_id, void *ptr,
138 cl_mem buf_id, void *ptr,
145 cl_mem buf_id, void *&ptr,
153 cl_mem buf_id, void *&ptr,
164 cl_mem mem_id,
Dcl_context.cpp424 cl_mem
429 cl_mem mem_id = NULL; in create_image()
446 CLContext::destroy_mem (cl_mem mem_id) in destroy_mem()
452 cl_mem
455 cl_mem mem_id = NULL; in create_buffer()
473 cl_mem
475 cl_mem main_mem, in create_sub_buffer()
479 cl_mem sub_mem = NULL; in create_sub_buffer()
494 cl_mem buf_id, void *ptr, in enqueue_read_buffer()
533 cl_mem buf_id, void *ptr, in enqueue_write_buffer()
[all …]
Dcl_memory.cpp110 cl_mem mem_id = get_mem_id (); in enqueue_unmap()
127 cl_mem mem_id = get_mem_id (); in get_cl_mem_info()
161 cl_mem mem_id = NULL; in init_buffer()
192 cl_mem sub_mem = NULL; in init_sub_buffer()
193 cl_mem main_mem = main_buf->get_mem_id (); in init_sub_buffer()
217 cl_mem mem_id = get_mem_id (); in enqueue_read()
233 cl_mem mem_id = get_mem_id (); in enqueue_write()
250 cl_mem mem_id = get_mem_id (); in enqueue_map()
282 cl_mem mem_id = get_mem_id (); in get_cl_image_info()
521 cl_mem mem_id = get_mem_id (); in enqueue_map()
[all …]
/external/ImageMagick/MagickCore/
Daccelerate.c263 static cl_mem createKernelInfo(MagickCLDevice device,const double radius, in createKernelInfo()
269 cl_mem in createKernelInfo()
288 return((cl_mem) NULL); in createKernelInfo()
297 return((cl_mem) NULL); in createKernelInfo()
306 if (imageKernelBuffer == (cl_mem) NULL) in createKernelInfo()
313 MagickCLDevice device,cl_command_queue queue,cl_mem imageBuffer, in LaunchHistogramKernel()
314 cl_mem histogramBuffer,Image *image,const ChannelType channel, in LaunchHistogramKernel()
355 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel()
359 …clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel()
416 cl_mem in ComputeAddNoiseImage()
[all …]
Dopencl-private.h40 cl_mem
121 typedef CL_API_ENTRY cl_mem
127 (CL_API_CALL *MAGICKpfn_clRetainMemObject)(cl_mem memobj)
131 (CL_API_CALL *MAGICKpfn_clReleaseMemObject)(cl_mem memobj)
190 cl_mem buffer,cl_bool blocking_read,size_t offset,size_t cb,void *ptr,
196 cl_mem buffer,cl_bool blocking_map,cl_map_flags map_flags,size_t offset,
202 cl_command_queue command_queue,cl_mem memobj,void *mapped_ptr,
427 extern MagickPrivate cl_mem
460 ReleaseOpenCLMemObject(cl_mem),
462 RetainOpenCLMemObject(cl_mem);
/external/skia/src/compute/skc/platforms/cl_12/
Dextent_cl_12.h63 cl_mem drw;
82 cl_mem drw;
108 cl_mem drw;
139 cl_mem drw;
178 cl_mem drN;
219 cl_mem drN;
314 cl_mem drw;
359 cl_mem drw;
402 cl_mem dwN;
445 cl_mem drN;
Dallocator_device_cl.c21 cl_mem
28 cl_mem mem = clCreateBuffer(runtime->cl.context, in skc_runtime_device_perm_alloc()
38 cl_mem const mem) in skc_runtime_device_perm_free()
47 cl_mem
75 cl_mem mem = clCreateSubBuffer(runtime->allocator.device.temp.extent, in skc_runtime_device_temp_alloc()
87 cl_mem const mem, in skc_runtime_device_temp_free()
Druntime_cl_12.h159 cl_mem
166 cl_mem const mem);
168 cl_mem
177 cl_mem const mem,
/external/skqp/src/compute/skc/platforms/cl_12/
Dextent_cl_12.h63 cl_mem drw;
82 cl_mem drw;
108 cl_mem drw;
139 cl_mem drw;
178 cl_mem drN;
219 cl_mem drN;
314 cl_mem drw;
359 cl_mem drw;
402 cl_mem dwN;
445 cl_mem drN;
Dallocator_device_cl.c21 cl_mem
28 cl_mem mem = clCreateBuffer(runtime->cl.context, in skc_runtime_device_perm_alloc()
38 cl_mem const mem) in skc_runtime_device_perm_free()
47 cl_mem
75 cl_mem mem = clCreateSubBuffer(runtime->allocator.device.temp.extent, in skc_runtime_device_temp_alloc()
87 cl_mem const mem, in skc_runtime_device_temp_free()
Druntime_cl_12.h159 cl_mem
166 cl_mem const mem);
168 cl_mem
177 cl_mem const mem,
/external/skqp/src/compute/hs/cl/
Dhs_cl.h73 cl_mem vin,
74 cl_mem vout,
/external/skia/src/compute/hs/cl/
Dhs_cl.h73 cl_mem vin,
74 cl_mem vout,
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dkernel.cpp404 if (size != sizeof(cl_mem)) in set()
407 buf = pobj<buffer>(value ? *(cl_mem *)value : NULL); in set()
474 if (size != sizeof(cl_mem)) in set()
477 buf = pobj<buffer>(value ? *(cl_mem *)value : NULL); in set()
513 if (size != sizeof(cl_mem)) in set()
516 img = &obj<image>(*(cl_mem *)value); in set()
544 if (size != sizeof(cl_mem)) in set()
547 img = &obj<image>(*(cl_mem *)value); in set()

12