From b5baca1035f98c5ed3524a0b65216e916539742a Mon Sep 17 00:00:00 2001 From: minqiyang Date: Tue, 8 Jan 2019 21:56:54 +0800 Subject: [PATCH] Polish code test=develop --- .../framework/details/scope_buffered_ssa_graph_executor.cc | 3 --- .../framework/details/scope_buffered_ssa_graph_executor.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.cc b/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.cc index eb18a6fa6b7..1ed4b2c8e86 100644 --- a/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.cc +++ b/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.cc @@ -18,9 +18,6 @@ #include #include "paddle/fluid/framework/variable_helper.h" #include "paddle/fluid/platform/profiler.h" -#ifdef PADDLE_WITH_CUDA -#include "paddle/fluid/framework/details/reference_count_op_handle.h" -#endif namespace paddle { namespace framework { diff --git a/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.h b/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.h index 4131cbb3ea0..d4ad2f93234 100644 --- a/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.h +++ b/paddle/fluid/framework/details/scope_buffered_ssa_graph_executor.h @@ -24,6 +24,10 @@ #include "paddle/fluid/framework/details/ssa_graph_executor.h" #include "paddle/fluid/framework/scope.h" #include "paddle/fluid/platform/place.h" +#ifdef PADDLE_WITH_CUDA +#include "paddle/fluid/framework/details/reference_count_op_handle.h" +#endif + namespace paddle { namespace framework { namespace details { -- GitLab