Home
last modified time | relevance | path

Searched refs:AddDevice (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_set_test.cc42 void AddDevice(const char* type, const char* name) { in AddDevice() function in tensorflow::__anone8d617d30111::DeviceSetTest
45 devices_.AddDevice(d); in AddDevice()
77 AddDevice("d1", "/job:a/replica:0/task:0/device:d1:0"); in TEST_F()
80 AddDevice("d1", "/job:a/replica:0/task:0/device:d1:1"); in TEST_F()
84 AddDevice("d2", "/job:a/replica:0/task:0/device:d2:0"); in TEST_F()
89 AddDevice("d3", "/job:a/replica:0/task:0/device:d3:0"); in TEST_F()
Ddevice_set.h38 void AddDevice(Device* device);
Ddevice_set.cc33 void DeviceSet::AddDevice(Device* device) { in AddDevice() function in tensorflow::DeviceSet
Dplacer_test.cc186 devices_.AddDevice(local_devices_.back().get()); in PlacerTest()
190 devices_.AddDevice(local_devices_.back().get()); in PlacerTest()
910 heterogeneous.AddDevice(gpu.get()); in TEST_F()
913 heterogeneous.AddDevice(cpu.get()); in TEST_F()
1010 cpu_only.AddDevice(cpu.get()); in TEST_F()
Ddirect_session.cc301 device_set_.AddDevice(d); in DirectSession()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device.h42 AddDevice(device); in GSYCLInterface()
56 AddDevice(device); in GSYCLInterface()
70 AddDevice(device); in GSYCLInterface()
115 void AddDevice(const cl::sycl::device& d) { in AddDevice() function
/external/perfetto/src/ftrace_reader/
Dftrace_controller_unittest.cc620 TEST(FtraceMetadataTest, AddDevice) { in TEST() argument
622 metadata.AddDevice(1); in TEST()
624 metadata.AddDevice(3); in TEST()
631 metadata.AddDevice(3); in TEST()
635 metadata.AddDevice(4); in TEST()
640 metadata.AddDevice(5); in TEST()
Dcpu_reader.h133 metadata->AddDevice(dev_id); in ReadDevId()
Dftrace_controller.cc398 void FtraceMetadata::AddDevice(BlockDeviceID device_id) { in AddDevice() function in perfetto::FtraceMetadata
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc383 device_set->AddDevice(d.get()); in CreateSession()
401 device_set->AddDevice(d.get()); in CreateSession()
405 device_set->AddDevice(d); in CreateSession()
/external/webrtc/talk/media/webrtc/
Dfakewebrtcdeviceinfo.h47 void AddDevice(const std::string& device_name, const std::string& device_id) { in AddDevice() function
Dwebrtcvideocapturer_unittest.cc52 factory_->device_info.AddDevice(kTestDeviceName, kTestDeviceId); in WebRtcVideoCapturerTest()
/external/perfetto/include/perfetto/ftrace_reader/
Dftrace_controller.h87 void AddDevice(BlockDeviceID);