Home
last modified time | relevance | path

Searched refs:as_scalar (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/frontends/clover/api/
Ddevice.cpp105 buf.as_scalar<cl_device_type>() = dev.type(); in clGetDeviceInfo()
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()
125 buf.as_scalar<size_t>() = dev.max_threads_per_block(); 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()
141 buf.as_scalar<cl_uint>() = 2; in clGetDeviceInfo()
145 buf.as_scalar<cl_uint>() = 4; in clGetDeviceInfo()
[all …]
Dmemory.cpp296 buf.as_scalar<cl_mem_object_type>() = mem.type(); in clGetMemObjectInfo()
300 buf.as_scalar<cl_mem_flags>() = mem.flags(); in clGetMemObjectInfo()
304 buf.as_scalar<size_t>() = mem.size(); in clGetMemObjectInfo()
308 buf.as_scalar<void *>() = mem.host_ptr(); in clGetMemObjectInfo()
312 buf.as_scalar<cl_uint>() = 0; in clGetMemObjectInfo()
316 buf.as_scalar<cl_uint>() = mem.ref_count(); in clGetMemObjectInfo()
320 buf.as_scalar<cl_context>() = desc(mem.context()); in clGetMemObjectInfo()
325 buf.as_scalar<cl_mem>() = (sub ? desc(sub->parent()) : NULL); in clGetMemObjectInfo()
330 buf.as_scalar<size_t>() = (sub ? sub->offset() : 0); in clGetMemObjectInfo()
340 buf.as_scalar<cl_bool>() = mem.host_ptr() && system_svm; in clGetMemObjectInfo()
[all …]
Dsampler.cpp73 buf.as_scalar<cl_uint>() = s.ref_count(); in clGetSamplerInfo()
77 buf.as_scalar<cl_context>() = desc(s.context()); in clGetSamplerInfo()
81 buf.as_scalar<cl_bool>() = s.norm_mode(); in clGetSamplerInfo()
85 buf.as_scalar<cl_addressing_mode>() = s.addr_mode(); in clGetSamplerInfo()
89 buf.as_scalar<cl_filter_mode>() = s.filter_mode(); in clGetSamplerInfo()
Devent.cpp94 buf.as_scalar<cl_command_queue>() = desc(ev.queue()); in clGetEventInfo()
98 buf.as_scalar<cl_context>() = desc(ev.context()); in clGetEventInfo()
102 buf.as_scalar<cl_command_type>() = ev.command(); in clGetEventInfo()
106 buf.as_scalar<cl_int>() = ev.status(); in clGetEventInfo()
110 buf.as_scalar<cl_uint>() = ev.ref_count(); in clGetEventInfo()
263 buf.as_scalar<cl_ulong>() = hev.time_queued(); in clGetEventProfilingInfo()
267 buf.as_scalar<cl_ulong>() = hev.time_submit(); in clGetEventProfilingInfo()
271 buf.as_scalar<cl_ulong>() = hev.time_start(); in clGetEventProfilingInfo()
275 buf.as_scalar<cl_ulong>() = hev.time_end(); in clGetEventProfilingInfo()
Dkernel.cpp122 buf.as_scalar<cl_uint>() = kern.args().size(); in clGetKernelInfo()
126 buf.as_scalar<cl_uint>() = kern.ref_count(); in clGetKernelInfo()
130 buf.as_scalar<cl_context>() = desc(kern.program().context()); in clGetKernelInfo()
134 buf.as_scalar<cl_program>() = desc(kern.program()); in clGetKernelInfo()
164 buf.as_scalar<size_t>() = dev.max_threads_per_block(); in clGetKernelWorkGroupInfo()
172 buf.as_scalar<cl_ulong>() = kern.mem_local(); in clGetKernelWorkGroupInfo()
176 buf.as_scalar<size_t>() = dev.subgroup_size(); in clGetKernelWorkGroupInfo()
180 buf.as_scalar<cl_ulong>() = kern.mem_private(); in clGetKernelWorkGroupInfo()
209 buf.as_scalar<cl_kernel_arg_address_qualifier>() = info.address_qualifier; in clGetKernelArgInfo()
213 buf.as_scalar<cl_kernel_arg_access_qualifier>() = info.access_qualifier; in clGetKernelArgInfo()
[all …]
Dqueue.cpp82 buf.as_scalar<cl_context>() = desc(q.context()); in clGetCommandQueueInfo()
86 buf.as_scalar<cl_device_id>() = desc(q.device()); in clGetCommandQueueInfo()
90 buf.as_scalar<cl_uint>() = q.ref_count(); in clGetCommandQueueInfo()
94 buf.as_scalar<cl_command_queue_properties>() = q.properties(); in clGetCommandQueueInfo()
Dprogram.cpp414 buf.as_scalar<cl_uint>() = prog.ref_count(); in clGetProgramInfo()
418 buf.as_scalar<cl_context>() = desc(prog.context()); in clGetProgramInfo()
422 buf.as_scalar<cl_uint>() = (prog.devices().size() ? in clGetProgramInfo()
455 buf.as_scalar<cl_uint>() = prog.symbols().size(); in clGetProgramInfo()
487 buf.as_scalar<cl_build_status>() = prog.build(dev).status(); in clGetProgramBuildInfo()
499 buf.as_scalar<cl_program_binary_type>() = prog.build(dev).binary_type(); in clGetProgramBuildInfo()
Dcontext.cpp121 buf.as_scalar<cl_uint>() = ctx.ref_count(); in clGetContextInfo()
125 buf.as_scalar<cl_uint>() = ctx.devices().size(); in clGetContextInfo()
/external/mesa3d/src/gallium/frontends/clover/core/
Dproperty.hpp100 as_scalar() { in as_scalar() function in clover::property_buffer