Home
last modified time | relevance | path

Searched refs:num_devs (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/egl/main/
Degldevice.c299 int num_devs, ret; in _eglRefreshDeviceList() local
301 num_devs = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in _eglRefreshDeviceList()
302 for (int i = 0; i < num_devs; i++) { in _eglRefreshDeviceList()
326 int i = 0, num_devs; in _eglQueryDevicesEXT() local
333 num_devs = _eglRefreshDeviceList(); in _eglQueryDevicesEXT()
338 *num_devices = num_devs; in _eglQueryDevicesEXT()
348 *num_devices = MIN2(num_devs, max_devices); in _eglQueryDevicesEXT()
356 if (max_devices >= num_devs) { in _eglQueryDevicesEXT()
358 devices[num_devs - 1] = devs; in _eglQueryDevicesEXT()
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dprogram.cpp62 validate_build_common(const program &prog, cl_uint num_devs, in validate_build_common() argument
74 }, objs<allow_empty_tag>(d_devs, num_devs))) in validate_build_common()
268 clBuildProgram(cl_program d_prog, cl_uint num_devs, in clBuildProgram() argument
274 (d_devs ? objs(d_devs, num_devs) : ref_vector<device>(prog.devices())); in clBuildProgram()
277 validate_build_common(prog, num_devs, d_devs, pfn_notify, user_data); in clBuildProgram()
300 clCompileProgram(cl_program d_prog, cl_uint num_devs, in clCompileProgram() argument
308 (d_devs ? objs(d_devs, num_devs) : ref_vector<device>(prog.devices())); in clCompileProgram()
312 validate_build_common(prog, num_devs, d_devs, pfn_notify, user_data); in clCompileProgram()
427 clLinkProgram(cl_context d_ctx, cl_uint num_devs, const cl_device_id *d_devs, in clLinkProgram() argument
435 (d_devs ? objs(d_devs, num_devs) : ref_vector<device>(ctx.devices())); in clLinkProgram()
[all …]
Dcontext.cpp30 clCreateContext(const cl_context_properties *d_props, cl_uint num_devs, in clCreateContext() argument
36 auto devs = objs(d_devs, num_devs); in clCreateContext()
Ddevice.cpp86 cl_uint num_devs, cl_device_id *rd_devs, in clCreateSubDevices() argument
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_diskstat.c181 int num_devs = hud_get_num_disks(0); in hud_diskstat_graph_install() local
182 if (num_devs <= 0) in hud_diskstat_graph_install()
Dhud_sensors_temp.c211 int num_devs = hud_get_num_sensors(0); in hud_sensors_temp_graph_install() local
212 if (num_devs <= 0) in hud_sensors_temp_graph_install()