Home
last modified time | relevance | path

Searched refs:WorkerInterface (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_worker_cache.cc35 WorkerInterface* local_worker, in GrpcWorkerCache()
53 WorkerInterface* GetOrCreateWorker(const string& target) override { in GetOrCreateWorker()
68 void ReleaseWorker(const string& target, WorkerInterface* worker) override { in ReleaseWorker()
108 WorkerInterface* const local_worker_; // Not owned.
171 WorkerInterface* local_worker, const string& local_target) { in NewGrpcWorkerCacheWithLocalWorker()
Drpc_rendezvous_mgr.cc62 void Init(WorkerInterface* wi, int64 step_id, StringPiece key, in Init()
78 DCHECK_EQ(static_cast<WorkerInterface*>(nullptr), wi_) in Reset()
98 CHECK_EQ(static_cast<WorkerInterface*>(nullptr), wi_) in ~RpcRecvTensorCall()
120 DCHECK_NE(static_cast<WorkerInterface*>(nullptr), wi_) in ReleaseWorker()
173 WorkerInterface* wi_; // Not owned.
254 WorkerInterface* rwi = worker_cache->GetOrCreateWorker(call->src_worker_); in RecvFromRemoteAsync()
Dgrpc_remote_worker.h27 class WorkerInterface; variable
29 WorkerInterface* NewGrpcRemoteWorker(SharedGrpcChannelPtr channel,
Dgrpc_worker_cache.h73 WorkerInterface* local_worker, const string& local_target);
Dgrpc_worker_cache_test.cc42 WorkerInterface* wi; in TEST()
Dgrpc_remote_worker.cc43 class GrpcRemoteWorker : public WorkerInterface {
339 WorkerInterface* NewGrpcRemoteWorker(SharedGrpcChannelPtr channel, in NewGrpcRemoteWorker()
Drpc_rendezvous_mgr_test.cc76 WorkerInterface* GetOrCreateWorker(const string& target) override { in GetOrCreateWorker()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtest_utils.h31 class TestWorkerInterface : public WorkerInterface {
127 void AddWorker(const string& target, WorkerInterface* wi) { in AddWorker()
155 WorkerInterface* GetOrCreateWorker(const string& target) override { in GetOrCreateWorker()
163 void ReleaseWorker(const string& target, WorkerInterface* worker) override {} in ReleaseWorker()
192 std::unordered_map<string, WorkerInterface*> workers_;
Dworker_cache.h47 virtual WorkerInterface* GetOrCreateWorker(const string& target) = 0;
54 virtual void ReleaseWorker(const string& target, WorkerInterface* worker) { in ReleaseWorker()
Dworker_cache_wrapper.h44 WorkerInterface* GetOrCreateWorker(const string& target) override { in GetOrCreateWorker()
53 void ReleaseWorker(const string& target, WorkerInterface* worker) override { in ReleaseWorker()
Dworker_cache_partial.cc65 auto deleter = [this, &task](WorkerInterface* wi) { in RefreshDeviceStatus()
68 std::unique_ptr<WorkerInterface, decltype(deleter)> rwi( in RefreshDeviceStatus()
Dworker_session.cc50 WorkerInterface* GetOrCreateWorker(const string& target) override { in GetOrCreateWorker()
69 void ReleaseWorker(const string& target, WorkerInterface* worker) override { in ReleaseWorker()
96 WorkerInterface* worker;
Dworker_interface.h37 class WorkerInterface {
192 virtual ~WorkerInterface() {} in ~WorkerInterface()
204 typedef WorkerInterface ME;
Dcluster_function_library_runtime.h81 WorkerInterface* wi = nullptr;
87 WorkerInterface* wi, const std::vector<string>& send_keys, in FunctionData()
Dcancellable_call.h56 WorkerInterface* const wi_; // Owned by wc_, must be released.
Dcluster_function_library_runtime.cc191 WorkerInterface* wi = worker_cache->GetOrCreateWorker(target); in Instantiate()
268 WorkerInterface* wi = function_data->wi; in Run()
372 WorkerInterface* wi = function_data->wi; in CleanUp()
Dremote_device_test.cc39 WorkerInterface* wi_;
Dworker.h43 class Worker : public WorkerInterface {
Dremote_device.cc81 WorkerInterface* wi = worker_cache->GetOrCreateWorker(worker_name); in NewRemoteDevices()
Drpc_collective_executor_mgr.cc86 WorkerInterface* wi = worker_cache_->GetOrCreateWorker(group_leader_); in RefreshStepIdSequenceAsync()
Dcollective_rma_distributed.cc201 WorkerInterface* wi = worker_cache_->GetOrCreateWorker(peer_task); in CheckPeerHealth()
Dcollective_param_resolver_distributed_test.cc110 WorkerInterface* wi = it->second; in GetDeviceLocalityAsync()
Dmaster_session.cc264 WorkerInterface* worker = nullptr;
1111 WorkerInterface* w = part.worker; in DeregisterPartitions()
1299 WorkerInterface* worker = nullptr; in CreateWorkerSessions()
1415 WorkerInterface* worker = nullptr; in DeleteWorkerSessions()
Dcollective_rma_distributed_test.cc163 WorkerInterface* wi = it->second; in GetDeviceLocalityAsync()
Dmessage_wrappers.h515 friend class WorkerInterface; variable

12