Home
last modified time | relevance | path

Searched refs:remote_device_mgr (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_session.cc111 std::unique_ptr<DynamicDeviceMgr> remote_device_mgr) in WorkerSession() argument
118 remote_device_mgr ? remote_device_mgr.get() : nullptr)), in WorkerSession()
121 remote_device_mgr_(std::move(remote_device_mgr)) { in WorkerSession()
148 std::unique_ptr<DynamicDeviceMgr> remote_device_mgr) { in CreateWithBorrowedDeviceMgr() argument
151 std::move(graph_mgr), std::move(remote_device_mgr))); in CreateWithBorrowedDeviceMgr()
158 std::unique_ptr<DynamicDeviceMgr> remote_device_mgr) in WorkerSession() argument
164 this, !session_name.empty(), remote_device_mgr.get())), in WorkerSession()
167 remote_device_mgr_(std::move(remote_device_mgr)) { in WorkerSession()
Dworker_session.h44 DynamicDeviceMgr* remote_device_mgr() { return remote_device_mgr_.get(); } in remote_device_mgr() function
63 std::unique_ptr<DynamicDeviceMgr> remote_device_mgr);
69 std::unique_ptr<DynamicDeviceMgr> remote_device_mgr);
95 std::unique_ptr<DynamicDeviceMgr> remote_device_mgr);
Dcluster_function_library_runtime.h33 DeviceMgr* remote_device_mgr) in ClusterFunctionLibraryRuntime() argument
36 remote_device_mgr_(remote_device_mgr) {} in ClusterFunctionLibraryRuntime()
59 DeviceMgr* remote_device_mgr() const override { return remote_device_mgr_; } in remote_device_mgr() function
Dsession_mgr.cc218 DeviceMgr* remote_device_mgr = worker_session->remote_device_mgr(); in UpdateSession() local
219 std::vector<Device*> curr_remote_devices = remote_device_mgr->ListDevices(); in UpdateSession()
227 !remote_device_mgr->LookupDevice(da.name(), &device).ok()) { in UpdateSession()
Dsession_mgr_test.cc101 session->remote_device_mgr()->LookupDevice(local_cpu->name(), &device)); in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext_distributed_manager.cc65 tensorflow::DynamicDeviceMgr* remote_device_mgr) { in AddRemoteDevicesToMgr() argument
92 TF_RETURN_IF_ERROR(remote_device_mgr->AddDevices(std::move(remote_devices))); in AddRemoteDevicesToMgr()
100 auto remote_device_mgr = std::make_unique<tensorflow::DynamicDeviceMgr>(); in GetAllRemoteDevices() local
102 remote_device_mgr.get())); in GetAllRemoteDevices()
103 *device_mgr = std::move(remote_device_mgr); in GetAllRemoteDevices()
109 tensorflow::DynamicDeviceMgr* remote_device_mgr) { in RemoveRemoteDevicesFromMgr() argument
111 (remote_device_mgr->ListDevices()); in RemoveRemoteDevicesFromMgr()
122 TF_RETURN_IF_ERROR(remote_device_mgr->RemoveDevices(devices_to_remove)); in RemoveRemoteDevicesFromMgr()
487 tensorflow::DynamicDeviceMgr* remote_device_mgr = nullptr; in UpdateContextWithServerDef() local
492 remote_device_mgr = new_remote_device_mgr.get(); in UpdateContextWithServerDef()
[all …]
Dexecute_node_test.cc54 auto remote_device_mgr = absl::make_unique<DynamicDeviceMgr>(); in TEST() local
58 TF_ASSERT_OK(remote_device_mgr->AddDevices(std::move(remote_devices))); in TEST()
59 Device* device1 = remote_device_mgr->ListDevices().at(0); in TEST()
79 std::move(remote_device_mgr), /*remote_contexts=*/{}, in TEST()
Dtensor_handle_test.cc299 DynamicDeviceMgr remote_device_mgr; in TEST() local
302 TF_ASSERT_OK(remote_device_mgr.AddDevices(std::move(vector_d0))); in TEST()
306 EXPECT_TRUE(remote_device_mgr.ContainsDevice( in TEST()
311 TF_ASSERT_OK(remote_device_mgr.AddDevices(std::move(vector_d1))); in TEST()
312 EXPECT_TRUE(remote_device_mgr.ContainsDevice( in TEST()
317 EXPECT_TRUE(remote_device_mgr.ContainsDevice( in TEST()
321 TF_ASSERT_OK(remote_device_mgr.RemoveDevices(std::move(remove_d1))); in TEST()
322 EXPECT_FALSE(remote_device_mgr.ContainsDevice( in TEST()
324 EXPECT_TRUE(remote_device_mgr.ContainsDevice( in TEST()
Dcontext.cc207 auto remote_device_manager = remote_device_mgr(); in InitPrioritizedDeviceTypeList()
596 if (remote_device_mgr()) { in ListDevices()
597 remote_device_mgr()->ListDeviceAttributes(devices); in ListDevices()
888 if (remote_device_mgr() != nullptr) { in FindDeviceFromName()
889 return remote_device_mgr()->LookupDevice(device_name, device); in FindDeviceFromName()
1421 DynamicDeviceMgr* remote_device_mgr, in InitializeRemoteWorker() argument
1453 remote_device_manager_.Reset(remote_device_mgr); in InitializeRemoteWorker()
Dcontext.h305 const tensorflow::DynamicDeviceMgr* remote_device_mgr() const { in remote_device_mgr() function
392 DynamicDeviceMgr* remote_device_mgr,
513 if (remote_device_mgr() == nullptr) { in CreateRendezvous()
Dplacement_utils.cc53 if (ctx->remote_device_mgr()->ContainsDevice(device_incarnation)) { in ValidateTensorHandleRemoteDevice()
Deager_operation.cc464 if (ctx_.remote_device_mgr() == nullptr) return true; in IsLocal()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dcluster_function_library_runtime.h39 DeviceMgr* remote_device_mgr) in EagerClusterFunctionLibraryRuntime() argument
42 remote_device_mgr_(remote_device_mgr) {} in EagerClusterFunctionLibraryRuntime()
79 DeviceMgr* remote_device_mgr() const override { return remote_device_mgr_; } in remote_device_mgr() function
Dcluster_function_library_runtime.cc288 context_id, ctx, worker_session->remote_device_mgr()); in CreateClusterFLR()
Deager_service_impl.cc297 std::move(remote_eager_workers), worker_session->remote_device_mgr(), in CreateContext()
/external/tensorflow/tensorflow/core/framework/
Dfunction.h1007 virtual DeviceMgr* remote_device_mgr() const = 0;
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc214 if (parent_ != nullptr && parent_->remote_device_mgr() != nullptr) { in InitializeDeviceAndFlr()
215 all_devices = parent_->remote_device_mgr(); in InitializeDeviceAndFlr()
Dprocess_function_library_runtime_test.cc81 DeviceMgr* remote_device_mgr() const override { return device_mgr_; } in remote_device_mgr() function in tensorflow::__anon135d08d60111::TestClusterFLR