Home
last modified time | relevance | path

Searched refs:cl_uint (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/include/CL/
Dcl.h51 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platfo…
54 typedef cl_uint cl_platform_info;
55 typedef cl_uint cl_device_info;
57 typedef cl_uint cl_device_mem_cache_type;
58 typedef cl_uint cl_device_local_mem_type;
63 typedef cl_uint cl_context_info;
64 typedef cl_uint cl_command_queue_info;
65 typedef cl_uint cl_channel_order;
66 typedef cl_uint cl_channel_type;
68 typedef cl_uint cl_mem_object_type;
[all …]
Dcl_ext.h111 clIcdGetPlatformIDsKHR(cl_uint /* num_entries */,
113 cl_uint * /* num_platforms */);
116 cl_uint /* num_entries */,
118 cl_uint * /* num_platforms */);
162 cl_uint /*num_entries*/,
164 cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
169 cl_uint /*num_entries*/,
171cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
Dcl_gl.h46 typedef cl_uint cl_gl_object_type;
47 typedef cl_uint cl_gl_texture_info;
48 typedef cl_uint cl_gl_platform_info;
103 cl_uint /* num_objects */,
105 cl_uint /* num_events_in_wait_list */,
111 cl_uint /* num_objects */,
113 cl_uint /* num_events_in_wait_list */,
121 typedef cl_uint cl_gl_context_info;
Dcl.hpp692 get(Functor f, cl_uint name, T* param) in get()
702 static cl_int get(Func f, cl_uint name, VECTOR_CLASS<T>* param) in get()
726 get(Func f, cl_uint name, VECTOR_CLASS<char *>* param) in get()
728 cl_uint err = f(name, param->size() * sizeof(char *), &(*param)[0], NULL); in get()
741 static cl_int get(Func f, cl_uint name, STRING_CLASS* param) in get()
765 static cl_int get(Func f, cl_uint name, CPP_TYPE* param) \
767 cl_uint err = f(name, sizeof(CPP_TYPE), param, NULL); \
786 F(cl_device_info, CL_DEVICE_VENDOR_ID, cl_uint) \
787 F(cl_device_info, CL_DEVICE_MAX_COMPUTE_UNITS, cl_uint) \
788 F(cl_device_info, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, cl_uint) \
[all …]
Dcl_platform.h72 typedef unsigned __int32 cl_uint; typedef
163 typedef uint32_t cl_uint __attribute__((aligned(4)));
320 typedef cl_uint __cl_uint4 __attribute__((vector_size(16)));
354 typedef cl_uint __cl_uint2 __attribute__((vector_size(8)));
799 cl_uint CL_ALIGNED(8) s[2];
801 __extension__ struct{ cl_uint x, y; };
802 __extension__ struct{ cl_uint s0, s1; };
803 __extension__ struct{ cl_uint lo, hi; };
812 cl_uint CL_ALIGNED(16) s[4];
814 __extension__ struct{ cl_uint x, y, z, w; };
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddevice.cpp32 cl_uint num_entries, cl_device_id *devices, in clGetDeviceIDs()
33 cl_uint *num_devices) { in clGetDeviceIDs()
59 std::min((cl_uint)devs.size(), num_entries), in clGetDeviceIDs()
76 return scalar_property<cl_uint>(buf, size, size_ret, dev->vendor_id()); in clGetDeviceInfo()
79 return scalar_property<cl_uint>(buf, size, size_ret, 1); in clGetDeviceInfo()
82 return scalar_property<cl_uint>(buf, size, size_ret, in clGetDeviceInfo()
94 return scalar_property<cl_uint>(buf, size, size_ret, 16); in clGetDeviceInfo()
97 return scalar_property<cl_uint>(buf, size, size_ret, 8); in clGetDeviceInfo()
100 return scalar_property<cl_uint>(buf, size, size_ret, 4); in clGetDeviceInfo()
103 return scalar_property<cl_uint>(buf, size, size_ret, 2); in clGetDeviceInfo()
[all …]
Dkernel.cpp56 clCreateKernelsInProgram(cl_program prog, cl_uint count, in clCreateKernelsInProgram()
57 cl_kernel *kerns, cl_uint *count_ret) { in clCreateKernelsInProgram()
103 clSetKernelArg(cl_kernel kern, cl_uint idx, size_t size, in clSetKernelArg()
130 return scalar_property<cl_uint>(buf, size, size_ret, in clGetKernelInfo()
134 return scalar_property<cl_uint>(buf, size, size_ret, in clGetKernelInfo()
192 cl_uint dims, const size_t *grid_offset, in kernel_validate()
194 cl_uint num_deps, const cl_event *deps, in kernel_validate()
274 cl_uint dims, const size_t *pgrid_offset, in clEnqueueNDRangeKernel()
276 cl_uint num_deps, const cl_event *deps, in clEnqueueNDRangeKernel()
298 cl_uint num_deps, const cl_event *deps, in clEnqueueTask()
[all …]
Dtransfer.cpp38 validate_base(cl_command_queue q, cl_uint num_deps, const cl_event *deps) { in validate_base()
140 cl_uint num_deps, const cl_event *deps, in clEnqueueReadBuffer()
165 cl_uint num_deps, const cl_event *deps, in clEnqueueWriteBuffer()
194 cl_uint num_deps, const cl_event *deps, in clEnqueueReadBufferRect()
225 cl_uint num_deps, const cl_event *deps, in clEnqueueWriteBufferRect()
252 cl_uint num_deps, const cl_event *deps, in clEnqueueCopyBuffer()
277 cl_uint num_deps, const cl_event *deps, in clEnqueueCopyBufferRect()
303 cl_uint num_deps, const cl_event *deps, in clEnqueueReadImage()
333 cl_uint num_deps, const cl_event *deps, in clEnqueueWriteImage()
363 cl_uint num_deps, const cl_event *deps, in clEnqueueCopyImage()
[all …]
Dprogram.cpp29 clCreateProgramWithSource(cl_context ctx, cl_uint count, in clCreateProgramWithSource()
57 clCreateProgramWithBinary(cl_context ctx, cl_uint count, in clCreateProgramWithBinary()
135 clBuildProgram(cl_program prog, cl_uint count, const cl_device_id *devs, in clBuildProgram()
175 return scalar_property<cl_uint>(buf, size, size_ret, in clGetProgramInfo()
183 return scalar_property<cl_uint>(buf, size, size_ret, in clGetProgramInfo()
Dcontext.cpp29 clCreateContext(const cl_context_properties *props, cl_uint num_devs, in clCreateContext()
105 return scalar_property<cl_uint>(buf, size, size_ret, ctx->ref_count()); in clGetContextInfo()
108 return scalar_property<cl_uint>(buf, size, size_ret, ctx->devs.size()); in clGetContextInfo()
Dmemory.cpp166 cl_mem_object_type type, cl_uint count, in clGetSupportedImageFormats()
167 cl_image_format *buf, cl_uint *count_ret) try { in clGetSupportedImageFormats()
182 std::copy_n(formats.begin(), std::min((cl_uint)formats.size(), count), in clGetSupportedImageFormats()
214 return scalar_property<cl_uint>(buf, size, size_ret, 0); in clGetMemObjectInfo()
217 return scalar_property<cl_uint>(buf, size, size_ret, obj->ref_count()); in clGetMemObjectInfo()
Dplatform.cpp28 clGetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, in clGetPlatformIDs()
29 cl_uint *num_platforms) { in clGetPlatformIDs()
Devent.cpp61 clWaitForEvents(cl_uint num_evs, const cl_event *evs) try { in clWaitForEvents()
110 return scalar_property<cl_uint>(buf, size, size_ret, ev->ref_count()); in clGetEventInfo()
189 clEnqueueWaitForEvents(cl_command_queue q, cl_uint num_evs, in clEnqueueWaitForEvents()
Dsampler.cpp71 return scalar_property<cl_uint>(buf, size, size_ret, s->ref_count()); in clGetSamplerInfo()
Dqueue.cpp84 return scalar_property<cl_uint>(buf, size, size_ret, q->ref_count()); in clGetCommandQueueInfo()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.hpp47 cl_uint vendor_id() const;
50 cl_uint max_image_levels_2d() const;
51 cl_uint max_image_levels_3d() const;
52 cl_uint max_samplers() const;
57 cl_uint max_const_buffers() const;
Ddevice.cpp72 cl_uint
95 cl_uint
100 cl_uint
105 cl_uint
135 cl_uint