Home
last modified time | relevance | path

Searched refs:device_list (Results 1 – 25 of 89) sorted by relevance

1234

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_list.py44 def WritePersistentDeviceList(file_name, device_list): argument
46 assert isinstance(device_list, list)
49 device_list = [d for d in device_list if d != '(error)']
53 json.dump(device_list, f)
/external/libusb/tests/
Dstress.c61 libusb_device **device_list = NULL; in test_get_device_list() local
62 ssize_t list_size = libusb_get_device_list(ctx, &device_list); in test_get_device_list()
63 if (list_size < 0 || !device_list) { in test_get_device_list()
66 i, (long)-list_size, device_list); in test_get_device_list()
70 libusb_free_device_list(device_list, 1); in test_get_device_list()
/external/OpenCL-CTS/test_common/harness/
DerrorHelpers.cpp545 cl_device_id *device_list) in OutputBuildLogs() argument
568 device_list = (cl_device_id *)malloc(size_ret); in OutputBuildLogs()
569 if (device_list == NULL) in OutputBuildLogs()
575 device_list, NULL); in OutputBuildLogs()
587 program, device_list[i], CL_PROGRAM_BUILD_STATUS, in OutputBuildLogs()
598 error = clGetProgramBuildInfo(program, device_list[i], in OutputBuildLogs()
603 error = clGetProgramBuildInfo(program, device_list[i], in OutputBuildLogs()
617 free(device_list); in OutputBuildLogs()
/external/OpenCL-CTS/test_conformance/events/
Dtest_userevents.cpp58 cl_device_id *device_list;\
59 device_list=(cl_device_id *)malloc(num_devices_*sizeof(cl_device_id));\
60 clGetProgramInfo(program,CL_PROGRAM_DEVICES,num_devices_*sizeof(cl_device_id),device_list,NULL);\
64 clGetProgramBuildInfo(program,device_list[i],CL_PROGRAM_BUILD_LOG,sizeof(buffer),buffer,&len);\
69 free(device_list);\
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dcluster_resolver_test.py59 device_list = [
64 mock_list_devices.return_value = device_list
83 device_list = [
88 mock_list_devices.return_value = device_list
107 device_list = [
112 mock_list_devices.return_value = device_list
/external/OpenCL-CTS/test_conformance/gl/
Dtest_fence_sync.cpp651 cl_device_id *device_list = NULL; in test_fence_sync() local
663 device_list = (cl_device_id *) malloc(sizeof(cl_device_id)*vs_count); in test_fence_sync()
664 …CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE, sizeof(cl_device_id)*vs_count, device_list, NULL); in test_fence_sync()
682 device_list = (cl_device_id *) malloc(device_cb); in test_fence_sync()
683 err = clGetContextInfo( context, CL_CONTEXT_DEVICES, device_cb, device_list, NULL); in test_fence_sync()
685 free(device_list); in test_fence_sync()
704 cl_device_id rend_device = device_list[rend_vs], read_device = device_list[read_vs]; in test_fence_sync()
727 free(device_list); in test_fence_sync()
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/
Dsnapshot_reader.cpp103 std::vector<int> device_list; in readSnapShot() local
104 parser.getDeviceList(device_list); in readSnapShot()
108 for(size_t i = 0; i < device_list.size(); i++) in readSnapShot()
110 device = parser.getDevice(device_list[i]); in readSnapShot()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector.cc312 const auto& device_list = in FindDeviceIndex() local
314 auto it = absl::c_find(device_list, parsed_name.type); in FindDeviceIndex()
315 if (it != device_list.end()) { in FindDeviceIndex()
316 *index = it - device_list.begin(); in FindDeviceIndex()
320 *index = device_list.size(); in FindDeviceIndex()
/external/autotest/client/common_lib/cros/manual/
Dcfm_helper_unittest.py21 def create_mock_device_getter(self, device_list): argument
26 return device_list
Dcfm_helper.py112 device_list = get_devices(usb_data)
113 for pid_vid, device_count in device_list.iteritems():
259 def gpio_usb_test(dut, gpio_list, device_list, pause, board): argument
270 for device in device_list:
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_device.cc429 auto device_list = device_attr.second.dyn_cast_or_null<ArrayAttr>(); in Verify() local
430 if (!device_list) in Verify()
434 bool is_device_string = llvm::all_of(device_list, [](Attribute attr) { in Verify()
441 if (device_list.size() != n) in Verify()
443 << "expects number of devices (" << device_list.size() in Verify()
565 llvm::SmallVector<mlir::NamedAttribute, 1> device_list; in build() local
566 device_list.reserve(devices.size()); in build()
571 device_list.emplace_back(device_name_attr); in build()
573 devices_attr.emplace(builder.getDictionaryAttr(device_list)); in build()
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_quick_tests.py72 for device_type, device_list in connected_devices.items():
73 for device in device_list:
88 for device_type, device_list in self.devices.items():
93 for device in device_list:
424 for device_list in self.devices.values():
425 for device in device_list:
609 for device_list in self.active_test_devices.values():
610 for device in device_list:
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/tpu/
Dtpu_cluster_resolver_test.py562 device_list = [
567 device_list)
586 device_list = [
591 resolver.TPUClusterResolver._get_device_dict_and_cores(device_list)
627 device_list = [
632 mock_list_devices.return_value = device_list
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Dclient_lib_test.py90 device_list = d_client.list_devices()['devices']
91 device_ids = [device['id'] for device in device_list]
/external/libiio/src/
Dusb.c770 libusb_device **device_list; in usb_create_context() local
813 libusb_get_device_list(usb_ctx, &device_list); in usb_create_context()
817 for (i = 0; device_list[i]; i++) { in usb_create_context()
818 libusb_device *dev = device_list[i]; in usb_create_context()
843 libusb_free_device_list(device_list, true); in usb_create_context()
1156 libusb_device **device_list; in usb_context_scan() local
1160 ret = libusb_get_device_list(ctx->ctx, &device_list); in usb_context_scan()
1164 for (i = 0; device_list[i]; i++) { in usb_context_scan()
1166 struct libusb_device *dev = device_list[i]; in usb_context_scan()
1190 libusb_free_device_list(device_list, true); in usb_context_scan()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_fence_sync.cpp605 cl_device_id *device_list = NULL; in test_fence_sync() local
617 device_list = (cl_device_id *) malloc(sizeof(cl_device_id)*vs_count); in test_fence_sync()
618 …CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE, sizeof(cl_device_id)*vs_count, device_list, NULL); in test_fence_sync()
638 cl_device_id rend_device = device_list[rend_vs], read_device = device_list[read_vs]; in test_fence_sync()
661 free(device_list); in test_fence_sync()
/external/angle/src/libGLESv2/
Dcl_stubs.cpp408 const cl_device_id *device_list, in CreateProgramWithBinary() argument
414 return context->cast<Context>().createProgramWithBinary(num_devices, device_list, lengths, in CreateProgramWithBinary()
420 const cl_device_id *device_list, in CreateProgramWithBuiltInKernels() argument
424 return context->cast<Context>().createProgramWithBuiltInKernels(num_devices, device_list, in CreateProgramWithBuiltInKernels()
451 const cl_device_id *device_list, in BuildProgram() argument
456 return program->cast<Program>().build(num_devices, device_list, options, pfn_notify, user_data); in BuildProgram()
461 const cl_device_id *device_list, in CompileProgram() argument
469 return program->cast<Program>().compile(num_devices, device_list, options, num_input_headers, in CompileProgram()
476 const cl_device_id *device_list, in LinkProgram() argument
484 return context->cast<Context>().linkProgram(num_devices, device_list, options, in LinkProgram()
Dentry_points_cl_autogen.cpp434 const cl_device_id *device_list, in clCreateProgramWithBinary() argument
444 (uintptr_t)context, num_devices, (uintptr_t)device_list, (uintptr_t)lengths, in clCreateProgramWithBinary()
447 ANGLE_CL_VALIDATE_ERRCODE_RET(CreateProgramWithBinary, context, num_devices, device_list, in clCreateProgramWithBinary()
451 cl_program object = CreateProgramWithBinary(context, num_devices, device_list, lengths, in clCreateProgramWithBinary()
482 const cl_device_id *device_list, in clBuildProgram() argument
492 (uintptr_t)program, num_devices, (uintptr_t)device_list, (uintptr_t)options, in clBuildProgram()
495 ANGLE_CL_VALIDATE_ERROR(BuildProgram, program, num_devices, device_list, options, pfn_notify, in clBuildProgram()
498 return BuildProgram(program, num_devices, device_list, options, pfn_notify, user_data); in clBuildProgram()
1631 const cl_device_id *device_list, in clCreateProgramWithBuiltInKernels() argument
1638 (uintptr_t)context, num_devices, (uintptr_t)device_list, (uintptr_t)kernel_names, in clCreateProgramWithBuiltInKernels()
[all …]
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_status.py21 from devil.android import device_list
213 expected_devices.update(device_list.GetPersistentDeviceList(path))
275 device_list.WritePersistentDeviceList(
/external/OpenCSD/decoder/tests/snapshots/stm_only/
Dsnapshot.ini4 [device_list] section
/external/OpenCSD/decoder/tests/snapshots/stm_only-2/
Dsnapshot.ini4 [device_list] section
/external/OpenCSD/decoder/tests/snapshots/stm_only-juno/
Dsnapshot.ini4 [device_list] section
/external/OpenCSD/decoder/tests/snapshots/stm-issue-27/
Dsnapshot.ini4 [device_list] section
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_variable_runtime_reformatting.cc342 const auto& device_list = in CreateStateVars() local
346 for (llvm::StringRef device : device_list) { in CreateStateVars()
429 auto device_list = it.second.cast<ArrayAttr>(); in HandleReplicateOp() local
431 device_list_for_alias.reserve(device_list.size()); in HandleReplicateOp()
433 for (auto device : device_list) in HandleReplicateOp()
/external/OpenCSD/decoder/tests/snapshots/juno-uname-001/
Dsnapshot.ini4 [device_list] section

1234