提交 09935ab9 编写于 作者: Y Yu Yang

Debug

上级 f8141d90
......@@ -345,8 +345,9 @@ struct NCCLAllReduceOpHandle : public OpHandle {
}
void Wait(platform::DeviceContext *waited_dev) override {
VLOG(3) << "Wait NCCL AllReduce";
this->dev_ctx_.at(waited_dev->GetPlace())->Wait();
for (auto &pair : member_->communication_streams_) {
pair.second.ctx_->Wait();
}
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册