Skip to content

Commit 3f61615

Browse files
author
Yancey
authored
Merge pull request #8030 from Yancey1989/fix_compile_error
Fix compilie error
2 parents b47a2a0 + d762c6d commit 3f61615

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

paddle/operators/listen_and_serv_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,4 @@ from send_op and send back variables to recv_op.
204204
namespace ops = paddle::operators;
205205

206206
REGISTER_OPERATOR(listen_and_serv, ops::ListenAndServOp,
207-
ops::ListenAndServOpMaker);
207+
ops::ListenAndServOpMaker);

paddle/operators/send_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ class SendOp : public framework::OperatorBase {
6565
if (outs.size() > 0) {
6666
for (size_t i = 0; i < outs.size(); i++) {
6767
VLOG(3) << "getting " << outs[i] << " from " << epmap[i];
68-
client_.AsyncGetVariable(epmap[i], ctx, scope, outs[i]);
68+
rpc_client->AsyncGetVariable(epmap[i], ctx, scope, outs[i]);
6969
}
70-
PADDLE_ENFORCE(client_.Wait());
70+
PADDLE_ENFORCE(rpc_client->Wait());
7171
}
7272
}
7373
};

0 commit comments

Comments
 (0)