Home
last modified time | relevance | path

Searched refs:LookupDevice (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_rma_local_test.cc72 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:0", &cpu0)); in TEST_F()
115 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:2", &cpu2)); in TEST_F()
134 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:1", &cpu1)); in TEST_F()
172 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:0", &cpu0)); in TEST_F()
194 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:0", &cpu0)); in TEST_F()
216 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:0", &cpu0)); in TEST_F()
237 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:0", &cpu0)); in TEST_F()
Ddevice_mgr.h58 virtual Status LookupDevice(StringPiece name, Device** device) const = 0;
94 Status LookupDevice(StringPiece name, Device** device) const override;
130 Status LookupDevice(StringPiece name, Device** device) const override;
Ddevice_resolver_local.cc26 Status s = dev_mgr_->LookupDevice(device, &dev); in GetDeviceAttributes()
Drendezvous_mgr.cc65 Status s = device_mgr->LookupDevice(parsed.src_device, &src_device); in SameWorkerRecvDone()
71 s = device_mgr->LookupDevice(parsed.dst_device, &dst_device); in SameWorkerRecvDone()
Ddynamic_device_mgr.cc79 Status DynamicDeviceMgr::LookupDevice(StringPiece name, Device** device) const { in LookupDevice() function in tensorflow::DynamicDeviceMgr
192 TF_RETURN_IF_ERROR(LookupDevice(name, &device)); in RemoveDevicesByName()
Dcollective_util.cc40 Status status = dev_mgr->LookupDevice(device_name, device); in InitializeDeviceAndLocality()
Ddevice_mgr.cc112 Status StaticDeviceMgr::LookupDevice(StringPiece name, Device** device) const { in LookupDevice() function in tensorflow::StaticDeviceMgr
Dcollective_rma_local.cc42 Status status = dev_mgr_->LookupDevice(peer_device, &from_device); in RecvFromPeer()
Dbuf_rendezvous.cc156 Status consumebuf_status = dev_mgr_->LookupDevice(device_name, &device); in ConsumeBuf()
Dgraph_execution_state.cc351 Status LookupDevice(const DeviceSet& device_set, const string& tensor_name, in LookupDevice() function
514 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, feed, in PruneGraph()
534 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, fetch, in PruneGraph()
Dprocess_function_library_runtime_test.cc114 TF_CHECK_OK(device_mgr_->LookupDevice( in ProcessFunctionLibraryRuntimeTest()
116 TF_CHECK_OK(device_mgr_->LookupDevice( in ProcessFunctionLibraryRuntimeTest()
122 ->LookupDevice("/job:a/replica:0/task:0/device:CPU:2", &device2_ptr) in ProcessFunctionLibraryRuntimeTest()
125 Status status = device_mgr_->LookupDevice( in ProcessFunctionLibraryRuntimeTest()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_rma_distributed_test.cc319 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
349 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
384 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
412 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
Dsession_mgr.cc141 return device_mgr->LookupDevice(name, device); in CreateSession()
226 if (!local_device_mgr->LookupDevice(da.name(), &device).ok() && in UpdateSession()
227 !remote_device_mgr->LookupDevice(da.name(), &device).ok()) { in UpdateSession()
Dbase_rendezvous_mgr.cc250 Status s = sess->device_mgr()->LookupDevice(parsed.src_device, &src_device); in SameWorkerRecvDone()
256 s = sess->device_mgr()->LookupDevice(parsed.dst_device, &dst_device); in SameWorkerRecvDone()
Dcollective_rma_distributed.cc127 Status status = dev_mgr_->LookupDevice("CPU:0", &cpu_dev); in RecvFromPeer()
Dgraph_mgr.cc175 Status s = device_mgr_->LookupDevice(name, &device); in InitItem()
221 Status s = device_mgr_->LookupDevice(device_name, &unit->device); in InitItem()
Dsession_mgr_test.cc101 session->remote_device_mgr()->LookupDevice(local_cpu->name(), &device)); in TEST_F()
Dcollective_param_resolver_distributed_test.cc226 TF_CHECK_OK(device_mgrs_[task_name]->LookupDevice(device_name, &device)); in IssueRequest()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr.cc157 if (parent_->local_device_mgr()->LookupDevice(in.op_device(), &device).ok() || in DeserializeRemoteTensorHandle()
158 parent_->local_device_mgr()->LookupDevice(in.device(), &device).ok()) { in DeserializeRemoteTensorHandle()
/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_client.cc80 pjrt_client_->LookupDevice(device_id)); in GetDefaultDeviceAssignment()
96 pjrt_client_->LookupDevice(device_id)); in GetDefaultDeviceAssignment1D()
111 pjrt_client_->LookupDevice(device->id())); in PjRtBufferFromPyval()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlift_variables.cc106 if (!(device_manager->LookupDevice(resource_handle.device(), &device) in LiftVariablesFromSession()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr.cc261 s = sess->device_mgr()->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dpjrt_client.h163 virtual StatusOr<PjRtDevice*> LookupDevice(int device_id) const = 0;
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client.cc501 static std::shared_ptr<PjRtDevice> LookupDevice(const PyTpuClient& client, in LookupDevice() function
524 std::shared_ptr<PjRtDevice> device = LookupDevice(*client_, device_id); in PyTpuExecutable()
549 std::shared_ptr<PjRtDevice> device = LookupDevice(*client_, device_id); in ExecuteHelper()
/external/tensorflow/tensorflow/core/kernels/
Dpartitioned_function_ops.cc211 TF_RETURN_IF_ERROR(lib->device_mgr()->LookupDevice("CPU:0", &cpu_device)); in Instantiate()

12