提交 52dd8ff0 编写于 作者: Y Yu Yang

Force sync dev

上级 dfb86800
......@@ -199,7 +199,7 @@ void ThreadedSSAGraphExecutor::RunOp(
auto op_run = [ready_buffer, op, this] {
try {
VLOG(10) << op->DebugString();
VLOG(10) << op->Name() << " : " << op->DebugString();
op->Run(use_event_);
for (auto *ready : *ready_buffer) {
......@@ -211,6 +211,7 @@ void ThreadedSSAGraphExecutor::RunOp(
} catch (...) {
LOG(FATAL) << "Unknown exception catched";
}
PADDLE_ENFORCE(cudaDeviceSynchronize());
};
if (pool_) {
pool_->enqueue(op_run);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册