提交 a5ba704d 编写于 作者: Y Yu Yang

Counter

上级 a87ce91c
......@@ -748,9 +748,9 @@ void ParallelExecutor::RunOp(
auto op_run = [ready_buffer, op, this] {
try {
VLOG(10) << op->DebugString() << " " << this;
VLOG(10) << op->DebugString() << " " << op;
op->Run();
VLOG(10) << "Done " << this;
VLOG(10) << "Done " << op;
for (auto *ready : *ready_buffer) {
*ready = true;
}
......@@ -761,9 +761,7 @@ void ParallelExecutor::RunOp(
LOG(FATAL) << "Unknown exception catched";
}
};
VLOG(3) << "Enqueue";
member_->pool_.enqueue(op_run);
VLOG(3) << "Done";
}
} // namespace framework
} // namespace paddle
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册