提交 5a02739c 编写于 作者: Y Yu Yang

Throw error

上级 f385228f
......@@ -208,6 +208,11 @@ void ThreadedSSAGraphExecutor::RunOp(
try {
VLOG(10) << op->DebugString();
op->Run(use_event_);
for (auto &dev_ctx : op->dev_ctx_) {
dev_ctx.second->Wait(); // Sync error
}
for (auto *ready : *ready_buffer) {
ready->store(true, std::memory_order_release);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册