提交 36e04152 编写于 作者: Y Yu Yang

Single Thread

上级 5957f28b
...@@ -714,12 +714,6 @@ void ParallelExecutor::Run(const std::vector<std::string> &fetch_tensors, ...@@ -714,12 +714,6 @@ void ParallelExecutor::Run(const std::vector<std::string> &fetch_tensors,
throw * member_->exception_; throw * member_->exception_;
} }
{
for (auto &pair : pending_vars) {
VLOG(3) << pair.first->DebugString();
}
}
std::this_thread::yield(); std::this_thread::yield();
continue; continue;
} }
...@@ -768,7 +762,8 @@ void ParallelExecutor::RunOp( ...@@ -768,7 +762,8 @@ void ParallelExecutor::RunOp(
} }
}; };
member_->pool_.enqueue(op_run); op_run();
// member_->pool_.enqueue(op_run);
} }
} // namespace framework } // namespace framework
} // namespace paddle } // namespace paddle
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册