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

Add log

上级 3c9cea59
...@@ -109,6 +109,7 @@ struct OpHandle { ...@@ -109,6 +109,7 @@ struct OpHandle {
virtual void Wait(platform::DeviceContext *waited_dev) { virtual void Wait(platform::DeviceContext *waited_dev) {
if (platform::is_cpu_place(waited_dev->GetPlace()) || events_.empty()) { if (platform::is_cpu_place(waited_dev->GetPlace()) || events_.empty()) {
VLOG(4) << "I am here";
for (auto &dev_ctx : dev_ctx_) { for (auto &dev_ctx : dev_ctx_) {
dev_ctx.second->Wait(); dev_ctx.second->Wait();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册