/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | device.cpp | 67 size_t size, void *buf, size_t *size_ret) { in clGetDeviceInfo() argument 73 return scalar_property<cl_device_type>(buf, size, size_ret, dev->type()); in clGetDeviceInfo() 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() 86 return vector_property<size_t>(buf, size, size_ret, in clGetDeviceInfo() 90 return scalar_property<size_t>(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() [all …]
|
D | util.hpp | 42 matrix_property(void *buf, size_t size, size_t *size_ret, const V& v) { in matrix_property() argument 46 if (size_ret) in matrix_property() 47 *size_ret = sizeof(T *) * v.size(); in matrix_property() 65 vector_property(void *buf, size_t size, size_t *size_ret, const V& v) { in vector_property() argument 69 if (size_ret) in vector_property() 70 *size_ret = sizeof(T) * v.size(); in vector_property() 83 scalar_property(void *buf, size_t size, size_t *size_ret, T v) { in scalar_property() argument 84 return vector_property<T>(buf, size, size_ret, std::vector<T>(1, v)); in scalar_property() 92 string_property(void *buf, size_t size, size_t *size_ret, in string_property() argument 97 if (size_ret) in string_property() [all …]
|
D | memory.cpp | 195 size_t size, void *buf, size_t *size_ret) { in clGetMemObjectInfo() argument 201 return scalar_property<cl_mem_object_type>(buf, size, size_ret, in clGetMemObjectInfo() 205 return scalar_property<cl_mem_flags>(buf, size, size_ret, obj->flags()); in clGetMemObjectInfo() 208 return scalar_property<size_t>(buf, size, size_ret, obj->size()); in clGetMemObjectInfo() 211 return scalar_property<void *>(buf, size, size_ret, obj->host_ptr()); in clGetMemObjectInfo() 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() 220 return scalar_property<cl_context>(buf, size, size_ret, &obj->ctx); in clGetMemObjectInfo() 224 return scalar_property<cl_mem>(buf, size, size_ret, in clGetMemObjectInfo() 229 return scalar_property<size_t>(buf, size, size_ret, in clGetMemObjectInfo() [all …]
|
D | platform.cpp | 44 size_t size, void *buf, size_t *size_ret) { in clGetPlatformInfo() argument 50 return string_property(buf, size, size_ret, "FULL_PROFILE"); in clGetPlatformInfo() 53 return string_property(buf, size, size_ret, in clGetPlatformInfo() 57 return string_property(buf, size, size_ret, "Default"); in clGetPlatformInfo() 60 return string_property(buf, size, size_ret, "Mesa"); in clGetPlatformInfo() 63 return string_property(buf, size, size_ret, ""); in clGetPlatformInfo()
|
D | program.cpp | 169 size_t size, void *buf, size_t *size_ret) { in clGetProgramInfo() argument 175 return scalar_property<cl_uint>(buf, size, size_ret, in clGetProgramInfo() 179 return scalar_property<cl_context>(buf, size, size_ret, in clGetProgramInfo() 183 return scalar_property<cl_uint>(buf, size, size_ret, in clGetProgramInfo() 188 buf, size, size_ret, in clGetProgramInfo() 193 return string_property(buf, size, size_ret, prog->source()); in clGetProgramInfo() 197 buf, size, size_ret, in clGetProgramInfo() 208 buf, size, size_ret, in clGetProgramInfo() 225 size_t size, void *buf, size_t *size_ret) { in clGetProgramBuildInfo() argument 234 return scalar_property<cl_build_status>(buf, size, size_ret, in clGetProgramBuildInfo() [all …]
|
D | sampler.cpp | 65 size_t size, void *buf, size_t *size_ret) { in clGetSamplerInfo() argument 71 return scalar_property<cl_uint>(buf, size, size_ret, s->ref_count()); in clGetSamplerInfo() 74 return scalar_property<cl_context>(buf, size, size_ret, &s->ctx); in clGetSamplerInfo() 77 return scalar_property<cl_bool>(buf, size, size_ret, s->norm_mode()); in clGetSamplerInfo() 80 return scalar_property<cl_addressing_mode>(buf, size, size_ret, in clGetSamplerInfo() 84 return scalar_property<cl_filter_mode>(buf, size, size_ret, in clGetSamplerInfo()
|
D | kernel.cpp | 121 size_t size, void *buf, size_t *size_ret) { in clGetKernelInfo() argument 127 return string_property(buf, size, size_ret, kern->name()); in clGetKernelInfo() 130 return scalar_property<cl_uint>(buf, size, size_ret, in clGetKernelInfo() 134 return scalar_property<cl_uint>(buf, size, size_ret, in clGetKernelInfo() 138 return scalar_property<cl_context>(buf, size, size_ret, in clGetKernelInfo() 142 return scalar_property<cl_program>(buf, size, size_ret, in clGetKernelInfo() 153 size_t size, void *buf, size_t *size_ret) { in clGetKernelWorkGroupInfo() argument 163 return scalar_property<size_t>(buf, size, size_ret, in clGetKernelWorkGroupInfo() 167 return vector_property<size_t>(buf, size, size_ret, in clGetKernelWorkGroupInfo() 171 return scalar_property<cl_ulong>(buf, size, size_ret, in clGetKernelWorkGroupInfo() [all …]
|
D | queue.cpp | 72 size_t size, void *buf, size_t *size_ret) { in clGetCommandQueueInfo() argument 78 return scalar_property<cl_context>(buf, size, size_ret, &q->ctx); in clGetCommandQueueInfo() 81 return scalar_property<cl_device_id>(buf, size, size_ret, &q->dev); in clGetCommandQueueInfo() 84 return scalar_property<cl_uint>(buf, size, size_ret, q->ref_count()); in clGetCommandQueueInfo() 87 return scalar_property<cl_command_queue_properties>(buf, size, size_ret, in clGetCommandQueueInfo()
|
D | event.cpp | 92 size_t size, void *buf, size_t *size_ret) { in clGetEventInfo() argument 98 return scalar_property<cl_command_queue>(buf, size, size_ret, ev->queue()); in clGetEventInfo() 101 return scalar_property<cl_context>(buf, size, size_ret, &ev->ctx); in clGetEventInfo() 104 return scalar_property<cl_command_type>(buf, size, size_ret, ev->command()); in clGetEventInfo() 107 return scalar_property<cl_int>(buf, size, size_ret, ev->status()); in clGetEventInfo() 110 return scalar_property<cl_uint>(buf, size, size_ret, ev->ref_count()); in clGetEventInfo() 219 size_t size, void *buf, size_t *size_ret) { in clGetEventProfilingInfo() argument
|
D | context.cpp | 99 size_t size, void *buf, size_t *size_ret) { in clGetContextInfo() argument 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() 111 return vector_property<cl_device_id>(buf, size, size_ret, ctx->devs); in clGetContextInfo() 114 return vector_property<cl_context_properties>(buf, size, size_ret, in clGetContextInfo()
|
/external/mesa3d/include/CL/ |
D | cl.hpp | 969 cl_uint param, ::size_t size, void* value, ::size_t* size_ret) in operator ()() 970 { return f_(arg0_, param, size, value, size_ret); } in operator ()() 978 cl_uint param, ::size_t size, void* value, ::size_t* size_ret) in operator ()() 979 { return f_(arg0_, arg1_, param, size, value, size_ret); } in operator ()()
|
/external/opencv3/3rdparty/include/opencl/1.2/CL/ |
D | cl.hpp | 1511 cl_uint param, ::size_t size, void* value, ::size_t* size_ret) in operator ()() 1512 { return f_(arg0_, param, size, value, size_ret); } in operator ()() 1520 cl_uint param, ::size_t size, void* value, ::size_t* size_ret) in operator ()() 1521 { return f_(arg0_, arg1_, param, size, value, size_ret); } in operator ()()
|