From fb29a80af7ee7f116966de8b8feeaf4b98974d5b Mon Sep 17 00:00:00 2001 From: yuanlehome Date: Wed, 10 Jan 2024 13:45:04 +0000 Subject: [PATCH] update --- paddle/fluid/framework/executor_cache.cc | 3 +++ paddle/fluid/pybind/pybind.cc | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/framework/executor_cache.cc b/paddle/fluid/framework/executor_cache.cc index 7e476f4fc506ce..a3686a4841adf7 100644 --- a/paddle/fluid/framework/executor_cache.cc +++ b/paddle/fluid/framework/executor_cache.cc @@ -14,6 +14,7 @@ #include "paddle/fluid/framework/executor_cache.h" +#include "paddle/common/macros.h" #include "paddle/fluid/framework/new_executor/interpretercore.h" #include "paddle/fluid/framework/op_info.h" #include "paddle/fluid/ir_adaptor/translator/translate.h" @@ -25,6 +26,8 @@ #include "paddle/pir/pass/pass.h" #include "paddle/pir/pass/pass_manager.h" +DECLARE_FILE_SYMBOLS(print_statistics); + PHI_DECLARE_bool(pir_apply_inplace_pass); PHI_DECLARE_bool(print_ir); diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index 0e54e747642cb0..35b3b613d7bfc8 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -227,7 +227,6 @@ DECLARE_FILE_SYMBOLS(buffered_allocator); DECLARE_FILE_SYMBOLS(best_fit_allocator); DECLARE_FILE_SYMBOLS(aligned_allocator); DECLARE_FILE_SYMBOLS(pass_timing); -DECLARE_FILE_SYMBOLS(print_statistics); DECLARE_FILE_SYMBOLS(op_compatible_info); DECLARE_FILE_SYMBOLS(gather_op_handle);