diff --git a/src/framework/executor.cpp b/src/framework/executor.cpp index f1d50d6e9903e115bc4bc7c5366742fdddc420dc..93078d9d4d7f253e37969d770bc5022e03430ab6 100644 --- a/src/framework/executor.cpp +++ b/src/framework/executor.cpp @@ -12,12 +12,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +#include "framework/executor.h" #include #include #include #include "common/enforce.h" #include "common/log.h" -#include "memory/t_malloc.h" #include "framework/context.h" #include "framework/framework.pb-c.h" #include "framework/lod_tensor.h" @@ -27,7 +27,7 @@ limitations under the License. */ #include "framework/program/var_desc.h" #include "framework/scope.h" #include "framework/tensor.h" -#include "framework/executor.h" +#include "memory/t_malloc.h" #include "pass/memory_optimize.h" #ifdef PADDLE_MOBILE_CL #include "framework/cl/cl_image.h" diff --git a/src/pass/memory_optimize.cpp b/src/pass/memory_optimize.cpp index dec9b7f3a2c119ed6b3d7f3e5ca58dde02450435..6d6475d7a1b72302e1febdec297cf4d42721e895 100644 --- a/src/pass/memory_optimize.cpp +++ b/src/pass/memory_optimize.cpp @@ -91,8 +91,6 @@ void MemoryOptPass::operator()(const framework::ProgramDesc *program, } } - DLOG << "analysis_nodes_ size: " << analysis_nodes_.size(); - // apply optimize while (!analysis_nodes_.empty()) { auto *node = analysis_nodes_.top();