Searched refs:AddDevice (Results 1 – 13 of 13) sorted by relevance
42 void AddDevice(const char* type, const char* name) { in AddDevice() function in tensorflow::__anone8d617d30111::DeviceSetTest45 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()
38 void AddDevice(Device* device);
33 void DeviceSet::AddDevice(Device* device) { in AddDevice() function in tensorflow::DeviceSet
186 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()
301 device_set_.AddDevice(d); in DirectSession()
42 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
620 TEST(FtraceMetadataTest, AddDevice) { in TEST() argument622 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()
133 metadata->AddDevice(dev_id); in ReadDevId()
398 void FtraceMetadata::AddDevice(BlockDeviceID device_id) { in AddDevice() function in perfetto::FtraceMetadata
383 device_set->AddDevice(d.get()); in CreateSession()401 device_set->AddDevice(d.get()); in CreateSession()405 device_set->AddDevice(d); in CreateSession()
47 void AddDevice(const std::string& device_name, const std::string& device_id) { in AddDevice() function
52 factory_->device_info.AddDevice(kTestDeviceName, kTestDeviceId); in WebRtcVideoCapturerTest()
87 void AddDevice(BlockDeviceID);