diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-11-21 21:09:13 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-21 21:24:20 -0800 |
commit | 67f8aa277ddbcabe4083d79180a4535cf96e910d (patch) | |
tree | d9aaeabeacf2d08a073205a593a45421fb99a730 /tensorflow/core/distributed_runtime/graph_mgr.cc | |
parent | e0e1f20dee0ff14b1c889d435433b8be15f3df5f (diff) |
Do not always call device->Sync().
Change: 139867360
Diffstat (limited to 'tensorflow/core/distributed_runtime/graph_mgr.cc')
-rw-r--r-- | tensorflow/core/distributed_runtime/graph_mgr.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/distributed_runtime/graph_mgr.cc b/tensorflow/core/distributed_runtime/graph_mgr.cc index 5487785c8a..731edd6ac3 100644 --- a/tensorflow/core/distributed_runtime/graph_mgr.cc +++ b/tensorflow/core/distributed_runtime/graph_mgr.cc @@ -394,6 +394,7 @@ void GraphMgr::StartParallelExecutors(const string& handle, Item* item, args.cancellation_manager = cancellation_manager; args.stats_collector = collector; args.step_resource_manager = step_resource_manager; + args.sync_on_finish = true; if (LogMemory::IsEnabled()) { LogMemory::RecordStep(args.step_id, handle); } |