From 4e451a34db079eb0ac443a8a132fd65c47e6fd23 Mon Sep 17 00:00:00 2001 From: dangqingqing Date: Tue, 5 Dec 2017 15:29:16 +0800 Subject: [PATCH] Remove the cuda stream synchronization between each operator. --- paddle/framework/operator.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/framework/operator.cc b/paddle/framework/operator.cc index 93467ab8ac..f1444eeee9 100644 --- a/paddle/framework/operator.cc +++ b/paddle/framework/operator.cc @@ -426,9 +426,6 @@ void OperatorWithKernel::Run(const Scope& scope, } kernel_iter->second->Compute(ctx); - - // throws errors if have. - dev_ctx.Finish(); } OpKernelType OperatorWithKernel::GetKernelType( const ExecutionContext& ctx) const { -- GitLab