Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_resolver_local.cc27 Status s = dev_mgr_->LookupDevice(device_name, &dev); in GetDeviceLocalitiesAsync()
42 Status s = dev_mgr_->LookupDevice(device, &dev); in GetLocalityAsync()
Dcollective_rma_local_test.cc65 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:0", &cpu0)); in TEST_F()
108 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:2", &cpu2)); in TEST_F()
127 TF_ASSERT_OK(device_mgr_->LookupDevice(kTaskName + "/device:CPU:1", &cpu1)); in TEST_F()
Drendezvous_mgr.cc88 Status s = device_mgr_->LookupDevice(parsed.src_device, &src_device); in SameWorkerRecvDone()
94 s = device_mgr_->LookupDevice(parsed.dst_device, &dst_device); in SameWorkerRecvDone()
Ddevice_mgr.h59 Status LookupDevice(StringPiece name, Device** device) const;
Dcollective_util.cc40 Status status = dev_mgr->LookupDevice(device_name, device); in InitializeDeviceAndLocality()
Ddevice_mgr.cc97 Status DeviceMgr::LookupDevice(StringPiece name, Device** device) const { in LookupDevice() function in tensorflow::DeviceMgr
Dprocess_function_library_runtime_test.cc76 TF_CHECK_OK(device_mgr_->LookupDevice( in Init()
78 TF_CHECK_OK(device_mgr_->LookupDevice( in Init()
81 Status status = device_mgr_->LookupDevice( in Init()
Dgraph_execution_state.cc292 Status LookupDevice(const DeviceSet& device_set, const string& tensor_name, in LookupDevice() function
455 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, feed, in PruneGraph()
475 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, fetch, in PruneGraph()
Dprocess_function_library_runtime.cc185 if (!device_mgr_->LookupDevice(device_name, &device).ok()) { in GetFLR()
623 TF_RETURN_IF_ERROR(device_mgr_->LookupDevice("CPU:0", &cpu_device)); in InstantiateMultiDevice()
Dring_gatherer_test.cc384 TF_CHECK_OK(parent_->dev_mgr_->LookupDevice(dev_name, &device_)) in DeviceInstance()
Ddirect_session.cc1249 TF_RETURN_IF_ERROR(device_mgr_->LookupDevice(partition_name, &device)); in CreateExecutors()
1600 s = device_mgr_->LookupDevice(partition_name, &d); in CreateGraphs()
/external/tensorflow/tensorflow/contrib/mpi/
Dmpi_rendezvous_mgr.cc77 s = env_->device_mgr->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
110 s = env_->device_mgr->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
217 Status s = this->worker_env_2->device_mgr->LookupDevice( in AddRequest()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_rma_distributed_test.cc275 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
303 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
335 TF_EXPECT_OK(device_mgrs_[0]->LookupDevice(dev_name, &dst_device)); in TEST_F()
Ddevice_resolver_distributed.cc33 Status s = dev_mgr_->LookupDevice(device, &dev); in GetLocalityAsync()
Dbase_rendezvous_mgr.cc256 Status s = sess->device_mgr()->LookupDevice(parsed.src_device, &src_device); in SameWorkerRecvDone()
262 s = sess->device_mgr()->LookupDevice(parsed.dst_device, &dst_device); in SameWorkerRecvDone()
Dcollective_rma_distributed.cc123 Status status = dev_mgr_->LookupDevice("CPU:0", &cpu_dev); in RecvFromPeer()
Dgraph_mgr.cc163 Status s = device_mgr_->LookupDevice(name, &device); in InitItem()
209 Status s = device_mgr_->LookupDevice(device_name, &unit->device); in InitItem()
Dworker.cc435 TF_RETURN_IF_ERROR(env_->device_mgr->LookupDevice(local_name, src_dev)); in PrepareRecvTensor()
/external/tensorflow/tensorflow/contrib/verbs/
Drdma_rendezvous_mgr.cc70 s = env_->device_mgr->LookupDevice(parsed.dst_device, &dst_dev); in RecvFromRemoteAsync()
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_rendezvous_mgr.cc153 Status s = sess->device_mgr()->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr.cc242 s = sess->device_mgr()->LookupDevice(parsed.dst_device, &dst_device); in RecvFromRemoteAsync()
Dgrpc_worker_service.cc588 s = env_->device_mgr->LookupDevice("CPU:0", &cpu_dev); in RecvBufAsync()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute.cc248 return ctx->local_device_mgr()->LookupDevice(d->name(), &tmp).ok(); in IsLocal()
282 auto status = ctx->local_device_mgr()->LookupDevice(device_name, device); in FindDeviceFromName()
288 return ctx->remote_device_mgr()->LookupDevice(device_name, device); in FindDeviceFromName()
/external/tensorflow/tensorflow/core/kernels/
Dpartitioned_function_ops.cc186 TF_RETURN_IF_ERROR(lib->device_mgr()->LookupDevice("CPU:0", &cpu_device)); in Instantiate()
Dcollective_nccl_reducer_test.cc219 TF_CHECK_OK(parent_->dev_mgr_->LookupDevice(device_name_, &device_)) in DeviceInstance()

12