Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
2db2e2d6
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
332
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
2db2e2d6
编写于
5月 17, 2020
作者:
H
huzhiqiang
提交者:
GitHub
5月 17, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[x86][CodeStyle] Remove glog and gflag from x86 base kernel implementaion code #3635
上级
892bf96f
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
17 addition
and
20 deletion
+17
-20
lite/backends/x86/CMakeLists.txt
lite/backends/x86/CMakeLists.txt
+1
-1
lite/backends/x86/cpu_info.cc
lite/backends/x86/cpu_info.cc
+1
-1
lite/backends/x86/dynamic_loader.cc
lite/backends/x86/dynamic_loader.cc
+0
-2
lite/backends/x86/jit/gen/act.h
lite/backends/x86/jit/gen/act.h
+1
-1
lite/backends/x86/jit/gen/blas.h
lite/backends/x86/jit/gen/blas.h
+1
-1
lite/backends/x86/jit/gen/embseqpool.h
lite/backends/x86/jit/gen/embseqpool.h
+1
-1
lite/backends/x86/jit/gen/gru.h
lite/backends/x86/jit/gen/gru.h
+1
-1
lite/backends/x86/jit/gen/hopv.h
lite/backends/x86/jit/gen/hopv.h
+1
-1
lite/backends/x86/jit/gen/lstm.h
lite/backends/x86/jit/gen/lstm.h
+1
-1
lite/backends/x86/jit/gen/matmul.h
lite/backends/x86/jit/gen/matmul.h
+1
-1
lite/backends/x86/jit/gen/seqpool.h
lite/backends/x86/jit/gen/seqpool.h
+1
-1
lite/backends/x86/jit/gen/sgd.h
lite/backends/x86/jit/gen/sgd.h
+1
-1
lite/backends/x86/jit/gen/vbroadcast.h
lite/backends/x86/jit/gen/vbroadcast.h
+1
-1
lite/backends/x86/jit/refer/refer.h
lite/backends/x86/jit/refer/refer.h
+1
-1
lite/backends/x86/port.h
lite/backends/x86/port.h
+1
-1
lite/kernels/x86/elementwise_op_function.h
lite/kernels/x86/elementwise_op_function.h
+3
-4
未找到文件。
lite/backends/x86/CMakeLists.txt
浏览文件 @
2db2e2d6
...
...
@@ -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
)
...
...
lite/backends/x86/cpu_info.cc
浏览文件 @
2db2e2d6
...
...
@@ -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"
...
...
lite/backends/x86/dynamic_loader.cc
浏览文件 @
2db2e2d6
...
...
@@ -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"
...
...
lite/backends/x86/jit/gen/act.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/blas.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/embseqpool.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/gru.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/hopv.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/lstm.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/matmul.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/seqpool.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/sgd.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/gen/vbroadcast.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/jit/refer/refer.h
浏览文件 @
2db2e2d6
...
...
@@ -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
{
...
...
lite/backends/x86/port.h
浏览文件 @
2db2e2d6
...
...
@@ -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
...
...
lite/kernels/x86/elementwise_op_function.h
浏览文件 @
2db2e2d6
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录