We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee8372 commit 2b06b4bCopy full SHA for 2b06b4b
paddle/fluid/framework/details/send_op_handle.cc
@@ -35,8 +35,9 @@ void SendOpHandle::RunImpl() {
35
in->generated_op_->Wait(dev_ctxes_[p]);
36
}
37
auto &tmp_scope = local_scope_->FindVar(kLocalExecScopeName)->Get<Scope *>();
38
- // auto &lod_tensor = tmp_scope->FindVar(var_name)->Get<LoDTensor>();
39
- this->RunAndRecordEvent([&] { op_->Run(*tmp_scope, place_); });
+ // FIXME(wuyi): can not use RunAndRecordEvent here, for it will cause dead
+ // lock.
40
+ op_->Run(*tmp_scope, place_);
41
42
43
std::string SendOpHandle::Name() const { return "send"; }
0 commit comments