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.
2 parents 6c0356e + 2b06b4b commit 3863c6aCopy full SHA for 3863c6a
paddle/fluid/framework/details/send_op_handle.cc
@@ -34,7 +34,10 @@ void SendOpHandle::RunImpl() {
34
}
35
in->generated_op_->Wait(dev_ctxes_[p]);
36
37
- this->RunAndRecordEvent([&] { op_->Run(*local_scope_, place_); });
+ auto &tmp_scope = local_scope_->FindVar(kLocalExecScopeName)->Get<Scope *>();
38
+ // FIXME(wuyi): can not use RunAndRecordEvent here, for it will cause dead
39
+ // lock.
40
+ op_->Run(*tmp_scope, place_);
41
42
43
std::string SendOpHandle::Name() const { return "send"; }
0 commit comments