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.cc40 WorkerInterface* local_worker, in GrpcWorkerCache()
72 WorkerInterface* CreateWorker(const string& target) override { in CreateWorker()
84 void ReleaseWorker(const string& target, WorkerInterface* worker) override { in ReleaseWorker()
146 WorkerInterface* const local_worker_; // Not owned.
166 std::shared_ptr<GrpcChannelCache> cc, WorkerInterface* local_worker, in NewGrpcWorkerCacheWithLocalWorker()
Drpc_rendezvous_mgr.cc61 void Init(WorkerInterface* wi, int64 step_id, StringPiece key, in Init()
77 DCHECK_EQ(static_cast<WorkerInterface*>(nullptr), wi_) in Reset()
97 CHECK_EQ(static_cast<WorkerInterface*>(nullptr), wi_) in ~RpcRecvTensorCall()
119 DCHECK_NE(static_cast<WorkerInterface*>(nullptr), wi_) in ReleaseWorker()
156 WorkerInterface* wi_; // Not owned.
235 WorkerInterface* rwi = sess->worker_cache->CreateWorker(call->src_worker_); in RecvFromRemoteAsync()
Dgrpc_remote_worker.h30 class WorkerInterface; variable
32 WorkerInterface* NewGrpcRemoteWorker(SharedGrpcChannelPtr channel,
Dgrpc_worker_cache.h28 std::shared_ptr<GrpcChannelCache> cc, WorkerInterface* local_worker,
Dgrpc_remote_worker.cc44 class GrpcRemoteWorker : public WorkerInterface {
309 WorkerInterface* NewGrpcRemoteWorker(SharedGrpcChannelPtr channel, in NewGrpcRemoteWorker()
Drpc_rendezvous_mgr_test.cc55 WorkerInterface* CreateWorker(const string& target) override { in CreateWorker()
/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* CreateWorker(const string& target) override { in CreateWorker()
163 void ReleaseWorker(const string& target, WorkerInterface* worker) override {} in ReleaseWorker()
187 std::unordered_map<string, WorkerInterface*> workers_;
Dworker_cache.h49 virtual WorkerInterface* CreateWorker(const string& target) = 0;
56 virtual void ReleaseWorker(const string& target, WorkerInterface* worker) { in ReleaseWorker()
Dworker_session.cc43 WorkerInterface* CreateWorker(const string& target) override { in CreateWorker()
57 void ReleaseWorker(const string& target, WorkerInterface* worker) override { in ReleaseWorker()
84 WorkerInterface* worker;
Dworker_cache_wrapper.h47 virtual WorkerInterface* CreateWorker(const string& target) { in CreateWorker()
56 virtual void ReleaseWorker(const string& target, WorkerInterface* worker) { in ReleaseWorker()
Dworker_cache_partial.cc65 auto deleter = [this, &task](WorkerInterface* wi) { in RefreshDeviceStatus()
68 std::unique_ptr<WorkerInterface, decltype(deleter)> rwi(CreateWorker(task), in RefreshDeviceStatus()
Dcluster_function_library_runtime.h61 WorkerInterface* wi = nullptr;
66 WorkerInterface* wi, const std::vector<string>& send_keys, in FunctionData()
Dworker_interface.h37 class WorkerInterface {
184 virtual ~WorkerInterface() {} in ~WorkerInterface()
196 typedef WorkerInterface ME;
Dcancellable_call.h60 WorkerInterface* const wi_; // Owned by wc_, must be released.
Dcluster_function_library_runtime.cc126 WorkerInterface* wi = in Instantiate()
177 WorkerInterface* wi = function_data->wi; in Run()
Dremote_device_test.cc39 WorkerInterface* wi_;
Dremote_device.cc59 WorkerInterface* wi = worker_cache->CreateWorker(worker_name); in NewRemoteDevices()
Dworker.h42 class Worker : public WorkerInterface {
Ddevice_resolver_distributed.cc100 WorkerInterface* worker = worker_cache_->CreateWorker(task); in RefreshRemoteAttributes()
Drpc_collective_executor_mgr.cc83 WorkerInterface* wi = worker_cache_->CreateWorker(group_leader_); in RefreshStepIdSequenceAsync()
Ddevice_resolver_distributed_test.cc109 WorkerInterface* wi = it->second; in GetDeviceLocalityAsync()
Dcollective_rma_distributed_test.cc147 WorkerInterface* wi = it->second; in GetDeviceLocalityAsync()
Dcollective_param_resolver_distributed_test.cc107 WorkerInterface* wi = it->second; in GetDeviceLocalityAsync()
Dmaster_session.cc260 WorkerInterface* worker = nullptr;
1054 WorkerInterface* w = part.worker; in DeregisterPartitions()
1243 WorkerInterface* worker = nullptr; in CreateWorkerSessions()
1323 WorkerInterface* worker = nullptr; in DeleteWorkerSessions()
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_rendezvous_mgr.cc41 GdrRecvTensorCall(WorkerInterface* wi, Device* dst_device, in GdrRecvTensorCall()
107 WorkerInterface* wi_;
145 WorkerInterface* rwi = sess->worker_cache->CreateWorker(src_worker); in RecvFromRemoteAsync()

12