Home
last modified time | relevance | path

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

12

/external/mesa3d/include/CL/
Dcl.h49 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platfo…
52 typedef cl_uint cl_platform_info;
53 typedef cl_uint cl_device_info;
55 typedef cl_uint cl_device_mem_cache_type;
56 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_dx9_media_sharing.h40 typedef cl_uint cl_dx9_media_adapter_type_khr;
41 typedef cl_uint cl_dx9_media_adapter_set_khr;
90 cl_uint num_media_adapters,
94 cl_uint num_entries,
96 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2;
103cl_uint plane, …
108 cl_uint num_objects,
110 cl_uint num_events_in_wait_list,
116 cl_uint num_objects,
118 cl_uint num_events_in_wait_list,
Dcl_ext.h108 clIcdGetPlatformIDsKHR(cl_uint /* num_entries */,
110 cl_uint * /* num_platforms */);
113 cl_uint /* num_entries */,
115 cl_uint * /* num_platforms */);
209 cl_uint /*num_entries*/,
211 cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
216 cl_uint /*num_entries*/,
218cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
266 typedef cl_uint cl_image_pitch_info_qcom;
282 cl_uint allocation_type;
[all …]
Dcl_d3d10.h41 typedef cl_uint cl_d3d10_device_source_khr;
42 typedef cl_uint cl_d3d10_device_set_khr;
81 cl_uint num_entries,
83 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_0;
107 cl_uint num_objects,
109 cl_uint num_events_in_wait_list,
115 cl_uint num_objects,
117 cl_uint num_events_in_wait_list,
Dcl_d3d11.h41 typedef cl_uint cl_d3d11_device_source_khr;
42 typedef cl_uint cl_d3d11_device_set_khr;
81 cl_uint num_entries,
83 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2;
107 cl_uint num_objects,
109 cl_uint num_events_in_wait_list,
115 cl_uint num_objects,
117 cl_uint num_events_in_wait_list,
Dcl_egl.h83 cl_uint /* num_objects */,
85 cl_uint /* num_events_in_wait_list */,
91 cl_uint num_objects,
93 cl_uint num_events_in_wait_list,
100 cl_uint /* num_objects */,
102 cl_uint /* num_events_in_wait_list */,
108 cl_uint num_objects,
110 cl_uint num_events_in_wait_list,
Dcl_gl.h37 typedef cl_uint cl_gl_object_type;
38 typedef cl_uint cl_gl_texture_info;
39 typedef cl_uint cl_gl_platform_info;
92 cl_uint /* num_objects */,
94 cl_uint /* num_events_in_wait_list */,
100 cl_uint /* num_objects */,
102 cl_uint /* num_events_in_wait_list */,
128 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.h128 typedef unsigned __int32 cl_uint; typedef
219 typedef uint32_t cl_uint __attribute__((aligned(4)));
376 typedef cl_uint __cl_uint4 __attribute__((vector_size(16)));
410 typedef cl_uint __cl_uint2 __attribute__((vector_size(8)));
873 cl_uint CL_ALIGNED(8) s[2];
875 __CL_ANON_STRUCT__ struct{ cl_uint x, y; };
876 __CL_ANON_STRUCT__ struct{ cl_uint s0, s1; };
877 __CL_ANON_STRUCT__ struct{ cl_uint lo, hi; };
886 cl_uint CL_ALIGNED(16) s[4];
888 __CL_ANON_STRUCT__ 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 *rd_devices, in clGetDeviceIDs()
33 cl_uint *rnum_devices) try { in clGetDeviceIDs()
69 cl_uint num_devs, cl_device_id *rd_devs, in clCreateSubDevices()
70 cl_uint *rnum_devs) { in clCreateSubDevices()
109 buf.as_scalar<cl_uint>() = dev.vendor_id(); in clGetDeviceInfo()
113 buf.as_scalar<cl_uint>() = dev.max_compute_units(); in clGetDeviceInfo()
117 buf.as_scalar<cl_uint>() = dev.max_block_size().size(); in clGetDeviceInfo()
129 buf.as_scalar<cl_uint>() = 16; in clGetDeviceInfo()
133 buf.as_scalar<cl_uint>() = 8; in clGetDeviceInfo()
137 buf.as_scalar<cl_uint>() = 4; in clGetDeviceInfo()
[all …]
Ddispatch.hpp40 cl_uint num_entries,
42 cl_uint *num_platforms);
54 cl_uint num_entries,
56 cl_uint *num_devices);
67 cl_uint num_devices,
157 cl_uint num_entries,
159 cl_uint *num_image_formats);
197 cl_uint count,
204 cl_uint num_devices,
219 cl_uint num_devices,
[all …]
Dkernel.cpp51 clCreateKernelsInProgram(cl_program d_prog, cl_uint count, in clCreateKernelsInProgram()
52 cl_kernel *rd_kerns, cl_uint *r_count) try { in clCreateKernelsInProgram()
98 clSetKernelArg(cl_kernel d_kern, cl_uint idx, size_t size, in clSetKernelArg()
122 buf.as_scalar<cl_uint>() = kern.args().size(); in clGetKernelInfo()
126 buf.as_scalar<cl_uint>() = kern.ref_count(); in clGetKernelInfo()
194 cl_uint idx, cl_kernel_arg_info param, in clGetKernelArgInfo()
226 validate_grid_size(const command_queue &q, cl_uint dims, in validate_grid_size()
240 validate_grid_offset(const command_queue &q, cl_uint dims, in validate_grid_offset()
250 cl_uint dims, const size_t *d_grid_size, in validate_block_size()
278 cl_uint dims, const size_t *d_grid_offset, in clEnqueueNDRangeKernel()
[all …]
Dplatform.cpp34 clGetPlatformIDs(cl_uint num_entries, cl_platform_id *rd_platforms, in clGetPlatformIDs()
35 cl_uint *rnum_platforms) { in clGetPlatformIDs()
115 clover::IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in IcdGetPlatformIDsKHR()
116 cl_uint *rnum_platforms) { in IcdGetPlatformIDsKHR()
138 clIcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in clIcdGetPlatformIDsKHR()
139 cl_uint *rnum_platforms) { in clIcdGetPlatformIDsKHR()
Dprogram.cpp33 validate_build_common(const program &prog, cl_uint num_devs, in validate_build_common()
51 clCreateProgramWithSource(cl_context d_ctx, cl_uint count, in clCreateProgramWithSource()
77 clCreateProgramWithBinary(cl_context d_ctx, cl_uint n, in clCreateProgramWithBinary()
132 clCreateProgramWithBuiltInKernels(cl_context d_ctx, cl_uint n, in clCreateProgramWithBuiltInKernels()
174 clBuildProgram(cl_program d_prog, cl_uint num_devs, in clBuildProgram()
198 clCompileProgram(cl_program d_prog, cl_uint num_devs, in clCompileProgram()
200 cl_uint num_headers, const cl_program *d_header_progs, in clCompileProgram()
274 clLinkProgram(cl_context d_ctx, cl_uint num_devs, const cl_device_id *d_devs, in clLinkProgram()
275 const char *p_opts, cl_uint num_progs, const cl_program *d_progs, in clLinkProgram()
326 buf.as_scalar<cl_uint>() = prog.ref_count(); in clGetProgramInfo()
[all …]
Dcontext.cpp30 clCreateContext(const cl_context_properties *d_props, cl_uint num_devs, in clCreateContext()
68 cl_uint num_platforms; in clCreateContextFromType()
71 cl_uint num_devices; in clCreateContextFromType()
121 buf.as_scalar<cl_uint>() = ctx.ref_count(); in clGetContextInfo()
125 buf.as_scalar<cl_uint>() = ctx.devices().size(); in clGetContextInfo()
Dtransfer.cpp278 cl_uint num_deps, const cl_event *d_deps, in clEnqueueReadBuffer()
308 cl_uint num_deps, const cl_event *d_deps, in clEnqueueWriteBuffer()
343 cl_uint num_deps, const cl_event *d_deps, in clEnqueueReadBufferRect()
380 cl_uint num_deps, const cl_event *d_deps, in clEnqueueWriteBufferRect()
412 cl_uint num_deps, const cl_event *d_deps, in clEnqueueCopyBuffer()
449 cl_uint num_deps, const cl_event *d_deps, in clEnqueueCopyBufferRect()
484 cl_uint num_deps, const cl_event *d_deps, in clEnqueueReadImage()
518 cl_uint num_deps, const cl_event *d_deps, in clEnqueueWriteImage()
552 cl_uint num_deps, const cl_event *d_deps, in clEnqueueCopyImage()
585 cl_uint num_deps, const cl_event *d_deps, in clEnqueueCopyImageToBuffer()
[all …]
Devent.cpp62 clWaitForEvents(cl_uint num_evs, const cl_event *d_evs) try { in clWaitForEvents()
110 buf.as_scalar<cl_uint>() = ev.ref_count(); in clGetEventInfo()
182 clEnqueueMarkerWithWaitList(cl_command_queue d_q, cl_uint num_deps, in clEnqueueMarkerWithWaitList()
217 clEnqueueBarrierWithWaitList(cl_command_queue d_q, cl_uint num_deps, in clEnqueueBarrierWithWaitList()
240 clEnqueueWaitForEvents(cl_command_queue d_q, cl_uint num_evs, in clEnqueueWaitForEvents()
Dmemory.cpp242 cl_mem_object_type type, cl_uint count, in clGetSupportedImageFormats()
243 cl_image_format *r_buf, cl_uint *r_count) try { in clGetSupportedImageFormats()
254 std::min((cl_uint)formats.size(), count), in clGetSupportedImageFormats()
290 buf.as_scalar<cl_uint>() = 0; in clGetMemObjectInfo()
294 buf.as_scalar<cl_uint>() = mem.ref_count(); in clGetMemObjectInfo()
407 cl_uint num_events_in_wait_list, in clEnqueueFillBuffer()
418 cl_uint num_events_in_wait_list, in clEnqueueFillImage()
Dsampler.cpp73 buf.as_scalar<cl_uint>() = s.ref_count(); in clGetSamplerInfo()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.hpp51 cl_uint vendor_id() const;
55 cl_uint max_image_levels_2d() const;
56 cl_uint max_image_levels_3d() const;
58 cl_uint max_samplers() const;
63 cl_uint max_const_buffers() const;
66 cl_uint max_clock_frequency() const;
67 cl_uint max_compute_units() const;
72 cl_uint subgroup_size() const;
73 cl_uint address_bits() const;
Ddevice.cpp78 cl_uint
106 cl_uint
111 cl_uint
121 cl_uint
151 cl_uint
169 cl_uint
175 cl_uint
200 cl_uint
206 cl_uint
Dkernel.cpp175 const cl_uint dimension = grid_offset.size(); in bind()
183 for (cl_uint x : pad_vector(*q, grid_offset, 0)) { in bind()
193 std::vector<cl_uint> image_size{ in bind()
194 static_cast<cl_uint>(img->width()), in bind()
195 static_cast<cl_uint>(img->height()), in bind()
196 static_cast<cl_uint>(img->depth())}; in bind()
208 std::vector<cl_uint> image_format{ in bind()
209 static_cast<cl_uint>(fmt.image_channel_data_type), in bind()
210 static_cast<cl_uint>(fmt.image_channel_order)}; in bind()
/external/ImageMagick/MagickCore/
Dopencl-private.h43 cl_uint
64 (CL_API_CALL *MAGICKpfn_clGetPlatformIDs)(cl_uint num_entries,
65 cl_platform_id *platforms,cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0;
76 cl_device_type device_type,cl_uint num_entries,cl_device_id *devices,
77 cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0;
88 const cl_context_properties *properties,cl_uint num_devices,
131 cl_uint count,const char **strings,const size_t *lengths,
136 cl_uint num_devices,const cl_device_id *device_list,const size_t *lengths,
146 cl_uint num_devices,const cl_device_id *device_list,const char *options,
171 (CL_API_CALL *MAGICKpfn_clSetKernelArg)(cl_kernel kernel,cl_uint arg_index,
[all …]
Daccelerate.c257 const double sigma,cl_uint *width,ExceptionInfo *exception) in createKernelInfo()
318 cl_uint in LaunchHistogramKernel()
346 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&colorspace); in LaunchHistogramKernel()
347 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&method); in LaunchHistogramKernel()
409 cl_uint in ComputeAddNoiseImage()
513 number_channels=(cl_uint) image->number_channels; in ComputeAddNoiseImage()
514 bufferLength=(cl_uint) (image->columns*image->rows*image->number_channels); in ComputeAddNoiseImage()
522 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&number_channels); in ComputeAddNoiseImage()
524 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&bufferLength); in ComputeAddNoiseImage()
525 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&pixelsPerWorkitem); in ComputeAddNoiseImage()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/
Dcommon.cpp77 dl.getSmallestLegalIntType(mod.getContext(), sizeof(cl_uint) * 8); in make_kernel_args()
107 args.emplace_back(module::argument::scalar, sizeof(cl_uint), in make_kernel_args()
115 args.emplace_back(module::argument::scalar, sizeof(cl_uint), in make_kernel_args()
164 args.emplace_back(module::argument::scalar, sizeof(cl_uint), in make_kernel_args()
170 args.emplace_back(module::argument::scalar, sizeof(cl_uint), in make_kernel_args()

12