Home
last modified time | relevance | path

Searched refs:device_infos (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c181 static const struct msm_device_info device_infos[] = { variable
266 device_info = &device_infos[0]; in msm_driver_get_device_info()
271 for (int i = 0; i < ARRAY_SIZE(device_infos); i++) { in msm_driver_get_device_info()
272 if (device_infos[i].gpu_id == gpu_id) { in msm_driver_get_device_info()
273 device_info = &device_infos[i]; in msm_driver_get_device_info()
279 device_infos[0].gpu_id); in msm_driver_get_device_info()
280 for (int i = 1; i < ARRAY_SIZE(device_infos); i++) in msm_driver_get_device_info()
281 fprintf(stderr, ", %d", device_infos[i].gpu_id); in msm_driver_get_device_info()
/external/OpenCL-CTS/test_conformance/computeinfo/
Dmain.cpp37 device_info device_infos[] = { variable
1361 device_infos[device_type_idx].device_type_name, in test_computeinfo()
1373 onInfo < sizeof(device_infos) / sizeof(device_infos[0]); onInfo++) in test_computeinfo()
1376 device_infos[onInfo].device_type_name); in test_computeinfo()
1377 err = clGetDeviceIDs(platform, device_infos[onInfo].device_type, 0, in test_computeinfo()
1378 NULL, &device_infos[onInfo].num_devices); in test_computeinfo()
1382 device_infos[onInfo].device_type_name); in test_computeinfo()
1387 log_info("Found %d %s devices:\n", device_infos[onInfo].num_devices, in test_computeinfo()
1388 device_infos[onInfo].device_type_name); in test_computeinfo()
1389 if (device_infos[onInfo].num_devices) in test_computeinfo()
[all …]