提交 a1f1a5ed 编写于 作者: T tangwei12 提交者: chengduo

rename grpc to rpc (#11717)

上级 2dae8a46
...@@ -212,7 +212,7 @@ class GRPCClient : public RPCClient { ...@@ -212,7 +212,7 @@ class GRPCClient : public RPCClient {
int64_t time_out = FLAGS_rpc_deadline) override; int64_t time_out = FLAGS_rpc_deadline) override;
void AsyncCheckpointNotify(const std::string& ep, const std::string& dir, void AsyncCheckpointNotify(const std::string& ep, const std::string& dir,
int64_t time_out = FLAGS_grpc_deadline) override; int64_t time_out = FLAGS_rpc_deadline) override;
void Wait() override; void Wait() override;
......
...@@ -56,9 +56,9 @@ class RPCClient { ...@@ -56,9 +56,9 @@ class RPCClient {
virtual void AsyncSendFetchBarrier(const std::string& ep, virtual void AsyncSendFetchBarrier(const std::string& ep,
int64_t time_out = FLAGS_rpc_deadline) = 0; int64_t time_out = FLAGS_rpc_deadline) = 0;
virtual void AsyncCheckpointNotify( virtual void AsyncCheckpointNotify(const std::string& ep,
const std::string& ep, const std::string& dir, const std::string& dir,
int64_t time_out = FLAGS_grpc_deadline) = 0; int64_t time_out = FLAGS_rpc_deadline) = 0;
// SendComplete tells all the server that current trainer have no more data // SendComplete tells all the server that current trainer have no more data
// to train, so that the pserver can reduce it's barrier count, and continue // to train, so that the pserver can reduce it's barrier count, and continue
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册