Lines Matching refs:onInfo
1371 int onInfo; in test_computeinfo() local
1372 for (onInfo = 0; 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()
1391 device_infos[onInfo].devices = (cl_device_id*)malloc( in test_computeinfo()
1392 sizeof(cl_device_id) * device_infos[onInfo].num_devices); in test_computeinfo()
1393 err = clGetDeviceIDs(platform, device_infos[onInfo].device_type, in test_computeinfo()
1394 device_infos[onInfo].num_devices, in test_computeinfo()
1395 device_infos[onInfo].devices, NULL); in test_computeinfo()
1400 for (onDevice = 0; onDevice < device_infos[onInfo].num_devices; in test_computeinfo()
1404 device_infos[onInfo].device_type_name, onDevice + 1, in test_computeinfo()
1405 device_infos[onInfo].num_devices); in test_computeinfo()
1407 getConfigInfos(device_infos[onInfo].devices[onDevice]); in test_computeinfo()
1411 if (device_infos[onInfo].num_devices) in test_computeinfo()
1413 free(device_infos[onInfo].devices); in test_computeinfo()