未验证 提交 2db2e2d6 编写于 作者: H huzhiqiang 提交者: GitHub

[x86][CodeStyle] Remove glog and gflag from x86 base kernel implementaion code #3635

上级 892bf96f
......@@ -8,7 +8,7 @@ lite_cc_library(target_wrapper_x86 SRCS target_wrapper.cc)
if (LITE_ON_MODEL_OPTIMIZE_TOOL)
return()
endif(LITE_ON_MODEL_OPTIMIZE_TOOL)
lite_cc_library(dynamic_loader SRCS dynamic_loader.cc DEPS glog gflags)
lite_cc_library(dynamic_loader SRCS dynamic_loader.cc)
lite_cc_library(dynload_mklml SRCS mklml.cc DEPS dynamic_loader mklml)
lite_cc_library(x86_cpu_info SRCS cpu_info.cc)
......
......@@ -29,8 +29,8 @@
#include <unistd.h>
#endif // _WIN32
#include <gflags/gflags.h>
#include <algorithm>
#include "lite/utils/cp_logging.h"
#include "lite/utils/env.h"
......
......@@ -17,8 +17,6 @@ limitations under the License. */
#include <mutex> // NOLINT
#include <string>
#include "gflags/gflags.h"
#include "glog/logging.h"
#include "lite/backends/x86/cupti_lib_path.h"
#include "lite/backends/x86/port.h"
#include "lite/backends/x86/warpctc_lib_path.h"
......
......@@ -14,9 +14,9 @@
#pragma once
#include <glog/logging.h>
#include <string>
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
namespace paddle {
namespace lite {
......
......@@ -15,8 +15,8 @@
#pragma once
#include <string>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
#include "lite/utils/string.h"
namespace paddle {
......
......@@ -14,9 +14,9 @@
#pragma once
#include <glog/logging.h>
#include <string>
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
#include "lite/utils/paddle_enforce.h"
namespace paddle {
......
......@@ -15,9 +15,9 @@
#pragma once
#include <string>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/act.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
namespace paddle {
namespace lite {
......
......@@ -15,8 +15,8 @@
#pragma once
#include <string>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
namespace paddle {
namespace lite {
......
......@@ -15,9 +15,9 @@
#pragma once
#include <string>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/act.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
namespace paddle {
namespace lite {
......
......@@ -17,8 +17,8 @@
#include <stdlib.h> // for malloc and free
#include <string>
#include <vector>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
#include "lite/utils/paddle_enforce.h"
namespace paddle {
......
......@@ -14,9 +14,9 @@
#pragma once
#include <glog/logging.h>
#include <string>
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
#include "lite/utils/paddle_enforce.h"
namespace paddle {
......
......@@ -15,8 +15,8 @@
#pragma once
#include <string>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
namespace paddle {
namespace lite {
......
......@@ -15,8 +15,8 @@
#pragma once
#include <string>
#include "glog/logging.h"
#include "lite/backends/x86/jit/gen/jitcode.h"
#include "lite/utils/cp_logging.h"
namespace paddle {
namespace lite {
......
......@@ -14,7 +14,6 @@
#pragma once
#include <glog/logging.h>
#include <cmath>
#include <cstring>
#include <limits>
......@@ -22,6 +21,7 @@
#include "lite/backends/x86/jit/helper.h"
#include "lite/backends/x86/jit/kernel_base.h"
#include "lite/backends/x86/jit/macro.h"
#include "lite/utils/cp_logging.h"
#include "lite/utils/paddle_enforce.h"
namespace paddle {
......
......@@ -22,7 +22,7 @@
#include <string>
#define GLOG_NO_ABBREVIATED_SEVERITIES // msvc conflict logging with windows.h
#include "glog/logging.h"
#include "lite/utils/cp_logging.h"
#if !defined(_WIN32)
#include <dlfcn.h> // dladdr
......
......@@ -14,16 +14,15 @@ limitations under the License. */
#pragma once
#include <glog/logging.h>
#include <algorithm>
#include <iterator>
#include <vector>
#include "lite/backends/x86/math/math_function.h"
#include "lite/fluid/eigen.h"
#include "lite/fluid/for_range.h"
#include "lite/fluid/transform.h"
#include "lite/utils/cp_logging.h"
#include "lite/utils/paddle_enforce.h"
#include "lite/backends/x86/math/math_function.h"
#include "lite/fluid/for_range.h"
#include "lite/utils/variant.h"
namespace paddle {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册