Searched refs:as_scalar (Results 1 – 9 of 9) sorted by relevance
105 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 …]
274 buf.as_scalar<cl_mem_object_type>() = mem.type(); in clGetMemObjectInfo()278 buf.as_scalar<cl_mem_flags>() = mem.flags(); in clGetMemObjectInfo()282 buf.as_scalar<size_t>() = mem.size(); in clGetMemObjectInfo()286 buf.as_scalar<void *>() = mem.host_ptr(); in clGetMemObjectInfo()290 buf.as_scalar<cl_uint>() = 0; in clGetMemObjectInfo()294 buf.as_scalar<cl_uint>() = mem.ref_count(); in clGetMemObjectInfo()298 buf.as_scalar<cl_context>() = desc(mem.context()); in clGetMemObjectInfo()303 buf.as_scalar<cl_mem>() = (sub ? desc(sub->parent()) : NULL); in clGetMemObjectInfo()308 buf.as_scalar<size_t>() = (sub ? sub->offset() : 0); in clGetMemObjectInfo()329 buf.as_scalar<cl_image_format>() = img.format(); in clGetImageInfo()[all …]
94 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()
73 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()
82 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()
122 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()160 buf.as_scalar<size_t>() = dev.max_threads_per_block(); in clGetKernelWorkGroupInfo()168 buf.as_scalar<cl_ulong>() = kern.mem_local(); in clGetKernelWorkGroupInfo()172 buf.as_scalar<size_t>() = dev.subgroup_size(); in clGetKernelWorkGroupInfo()176 buf.as_scalar<cl_ulong>() = kern.mem_private(); in clGetKernelWorkGroupInfo()
326 buf.as_scalar<cl_uint>() = prog.ref_count(); in clGetProgramInfo()330 buf.as_scalar<cl_context>() = desc(prog.context()); in clGetProgramInfo()334 buf.as_scalar<cl_uint>() = (prog.devices().size() ? in clGetProgramInfo()367 buf.as_scalar<cl_uint>() = prog.symbols().size(); in clGetProgramInfo()399 buf.as_scalar<cl_build_status>() = prog.build(dev).status(); in clGetProgramBuildInfo()411 buf.as_scalar<cl_program_binary_type>() = prog.build(dev).binary_type(); in clGetProgramBuildInfo()
121 buf.as_scalar<cl_uint>() = ctx.ref_count(); in clGetContextInfo()125 buf.as_scalar<cl_uint>() = ctx.devices().size(); in clGetContextInfo()
100 as_scalar() { in as_scalar() function in clover::property_buffer