Compile error with distributed flag ON
Created by: Yancey1989
/paddle/paddle/operators/send_op.cc: In member function ‘virtual void paddle::operators::SendOp::Run(const paddle::framework::Scope&, const Place&) const’:
/paddle/paddle/operators/send_op.cc:88:9: error: ‘client_’ was not declared in this scope
client_.AsyncGetVariable(epmap[i], ctx, scope, outs[i]);
^
In file included from /paddle/paddle/framework/data_type.h:18:0,
from /paddle/paddle/operators/send_op.cc:17:
/paddle/paddle/operators/send_op.cc:90:22: error: ‘client_’ was not declared in this scope
PADDLE_ENFORCE(client_.Wait());
^
/paddle/paddle/platform/enforce.h:206:42: note: in definition of macro ‘PADDLE_ENFORCE’
::paddle::platform::throw_on_error(__VA_ARGS__); \
^