Home
last modified time | relevance | path

Searched refs:host_ptr (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/clover/core/
Dmemory.cpp30 size_t size, void *host_ptr) : in memory_obj() argument
32 _size(size), _host_ptr(host_ptr) { in memory_obj()
34 data.append((char *)host_ptr, size); in memory_obj()
65 memory_obj::host_ptr() const { in host_ptr() function in memory_obj
70 size_t size, void *host_ptr) : in buffer() argument
71 memory_obj(ctx, flags, size, host_ptr) { in buffer()
80 size_t size, void *host_ptr) : in root_buffer() argument
81 buffer(ctx, flags, size, host_ptr) { in root_buffer()
104 (char *)parent.host_ptr() + offset), in sub_buffer()
130 void *host_ptr) : in image() argument
[all …]
Dmemory.hpp39 size_t size, void *host_ptr);
57 void *host_ptr() const;
74 size_t size, void *host_ptr);
83 size_t size, void *host_ptr);
114 void *host_ptr);
142 void *host_ptr);
153 void *host_ptr);
Dresource.cpp145 pipe = dev.pipe->resource_from_user_memory(dev.pipe, &info, obj.host_ptr()); in root_resource()
159 const void *data_ptr = !data.empty() ? data.data() : obj.host_ptr(); in root_resource()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dmemory.cpp74 void *host_ptr, cl_int *r_errcode) try { in clCreateBuffer() argument
78 if (bool(host_ptr) != bool(flags & (CL_MEM_USE_HOST_PTR | in clCreateBuffer() local
89 return new root_buffer(ctx, flags, size, host_ptr); in clCreateBuffer()
130 void *host_ptr, cl_int *r_errcode) try { in clCreateImage() argument
147 if (!host_ptr && in clCreateImage()
157 if (bool(host_ptr) != bool(d_flags & (CL_MEM_USE_HOST_PTR | in clCreateImage() local
182 desc->image_row_pitch, host_ptr); in clCreateImage()
199 desc->image_slice_pitch, host_ptr); in clCreateImage()
221 void *host_ptr, cl_int *r_errcode) { in clCreateImage2D() argument
225 return clCreateImage(d_ctx, d_flags, format, &desc, host_ptr, r_errcode); in clCreateImage2D()
[all …]
Ddispatch.hpp122 void *host_ptr,
132 void *host_ptr,
144 void *host_ptr,
661 void *host_ptr,
/external/libxcam/modules/ocl/
Dcl_context.h119 const cl_image_desc &image_info, void *host_ptr = NULL);
123 cl_mem create_buffer (uint32_t size, cl_mem_flags flags, void *host_ptr);
Dcl_memory.cpp148 cl_mem_flags flags, void *host_ptr) in CLBuffer() argument
153 init_buffer (context, size, flags, host_ptr); in CLBuffer()
159 cl_mem_flags flags, void *host_ptr) in init_buffer() argument
163 mem_id = context->create_buffer (size, flags, host_ptr); in init_buffer()
Dcl_memory.h104 void *host_ptr = NULL);
132 cl_mem_flags flags, void *host_ptr);
Dcl_context.cpp427 const cl_image_desc &image_info, void *host_ptr) in create_image() argument
435 host_ptr, &errcode); in create_image()
453 CLContext::create_buffer (uint32_t size, cl_mem_flags flags, void *host_ptr) in create_buffer() argument
462 size, host_ptr, in create_buffer()
/external/ImageMagick/MagickCore/
Dopencl-private.h123 cl_mem_flags flags,size_t size,void *host_ptr,cl_int *errcode_ret)
Dopencl.c468 cl_mem_flags flags,size_t size,void *host_ptr) in CreateOpenCLBuffer() argument
470 return(openCL_library->clCreateBuffer(device->context,flags,size,host_ptr, in CreateOpenCLBuffer()
/external/mesa3d/include/CL/
Dcl.hpp1748 void* host_ptr = NULL, in Buffer() argument
1752 object_ = ::clCreateBuffer(context(), flags, size, host_ptr, &error); in Buffer()
1989 void* host_ptr = NULL, in Image2D() argument
1994 context(), flags,&format, width, height, row_pitch, host_ptr, &error); in Image2D()
2072 void* host_ptr = NULL, in Image3D() argument
2078 slice_pitch, host_ptr, &error); in Image3D()