Home
last modified time | relevance | path

Searched refs:cl_mem (Results 1 – 25 of 30) 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()
306 clEnqueueWriteBuffer(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueWriteBuffer()
336 clEnqueueReadBufferRect(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueReadBufferRect()
373 clEnqueueWriteBufferRect(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueWriteBufferRect()
410 clEnqueueCopyBuffer(cl_command_queue d_q, cl_mem d_src_mem, cl_mem d_dst_mem, in clEnqueueCopyBuffer()
443 clEnqueueCopyBufferRect(cl_command_queue d_q, cl_mem d_src_mem, in clEnqueueCopyBufferRect()
444 cl_mem d_dst_mem, in clEnqueueCopyBufferRect()
481 clEnqueueReadImage(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueReadImage()
515 clEnqueueWriteImage(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking, in clEnqueueWriteImage()
549 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,
Dcl_ext.h64 cl_int CL_API_ENTRY clSetMemObjectDestructorAPPLE( cl_mem /* memobj */,
65 … 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/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);
Dcl_va_memory.cpp38 cl_mem mem_id = NULL; in init_va_buffer()
138 cl_mem mem_id = 0; in init_va_image()
/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 …]
Dcl_memory.h50 cl_mem &get_mem_id () { in get_mem_id()
70 void set_mem_id (cl_mem &id, bool need_destroy = true) {
88 cl_mem _mem_id;
Dcl_argument.h102 : CLArgument (sizeof (cl_mem)) in CLMemArgument()
Dcl_video_buffer.h44 cl_mem &get_mem_id ();
Dcl_video_buffer.cpp41 cl_mem &
/external/ImageMagick/MagickCore/
Daccelerate.c256 static cl_mem createKernelInfo(MagickCLDevice device,const double radius, in createKernelInfo()
265 cl_mem in createKernelInfo()
284 return((cl_mem) NULL); in createKernelInfo()
295 if (imageKernelBuffer == (cl_mem) NULL) in createKernelInfo()
302 MagickCLDevice device,cl_command_queue queue,cl_mem imageBuffer, in LaunchHistogramKernel()
303 cl_mem histogramBuffer,Image *image,const ChannelType channel, in LaunchHistogramKernel()
344 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel()
348 …clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel()
405 cl_mem in ComputeAddNoiseImage()
457 if (imageBuffer == (cl_mem) NULL) in ComputeAddNoiseImage()
[all …]
Dopencl-private.h40 cl_mem
118 typedef CL_API_ENTRY cl_mem
124 (CL_API_CALL *MAGICKpfn_clReleaseMemObject)(cl_mem memobj)
183 cl_mem buffer,cl_bool blocking_read,size_t offset,size_t cb,void *ptr,
189 cl_mem buffer,cl_bool blocking_map,cl_map_flags map_flags,size_t offset,
195 cl_command_queue command_queue,cl_mem memobj,void *mapped_ptr,
408 extern MagickPrivate cl_mem
440 ReleaseOpenCLMemObject(cl_mem),
Dcache-private.h287 extern MagickPrivate cl_mem
/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