From 5b92dd4026ac1afb5904646688a3a8ada6b29c65 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Tue, 27 Mar 2018 15:06:07 +0800 Subject: [PATCH] Remove dev sync --- paddle/fluid/framework/details/threaded_ssa_graph_executor.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc b/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc index 50c24d3afa..c1a28f1d1d 100644 --- a/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc +++ b/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc @@ -211,7 +211,6 @@ void ThreadedSSAGraphExecutor::RunOp( } catch (...) { LOG(FATAL) << "Unknown exception catched"; } - PADDLE_ENFORCE(cudaDeviceSynchronize()); }; if (pool_) { pool_->enqueue(op_run); -- GitLab