Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
59bbf075
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
337
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看板
提交
59bbf075
编写于
6月 04, 2020
作者:
D
dingminghui
提交者:
jackzhang235
6月 08, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: fix extra bridges not exist in subgraph_mlu
上级
1bf17174
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
6 deletion
+10
-6
cmake/configure.cmake
cmake/configure.cmake
+4
-0
lite/core/mir/subgraph/CMakeLists.txt
lite/core/mir/subgraph/CMakeLists.txt
+0
-3
lite/kernels/mlu/bridges/CMakeLists.txt
lite/kernels/mlu/bridges/CMakeLists.txt
+6
-3
未找到文件。
cmake/configure.cmake
浏览文件 @
59bbf075
...
...
@@ -102,6 +102,10 @@ if(WITH_GRPC)
add_definitions
(
-DPADDLE_WITH_GRPC
)
endif
(
WITH_GRPC
)
if
(
LITE_BUILD_EXTRA
)
add_definitions
(
-DLITE_BUILD_EXTRA
)
endif
()
if
(
WITH_BRPC_RDMA
)
add_definitions
(
-DPADDLE_WITH_BRPC_RDMA
)
endif
(
WITH_BRPC_RDMA
)
...
...
lite/core/mir/subgraph/CMakeLists.txt
浏览文件 @
59bbf075
...
...
@@ -4,9 +4,6 @@ lite_cc_library(subgraph_detector
lite_cc_library
(
subgraph_pass
SRCS subgraph_pass.cc
DEPS mir_pass types context
${
mir_fusers
}
subgraph_detector
)
if
(
LITE_BUILD_EXTRA
)
target_compile_definitions
(
subgraph_pass PUBLIC
"-DLITE_BUILD_EXTRA"
)
endif
()
if
(
WITH_TESTING AND NOT LITE_WITH_CUDA
)
lite_cc_test
(
test_subgraph_detector
SRCS subgraph_detector_test.cc
...
...
lite/kernels/mlu/bridges/CMakeLists.txt
浏览文件 @
59bbf075
...
...
@@ -57,11 +57,14 @@ set(mlu_subgraph_bridges
if
(
LITE_BUILD_EXTRA
)
lite_cc_library
(
subgraph_bridge_lrn_op_mlu SRCS lrn_op.cc DEPS
${
subgraph_bridge_deps_mlu
}
)
list
(
APPEND mlu_subgraph_bridges subgraph_bridge_lrn_op_mlu
)
lite_cc_library
(
subgraph_bridge_gather_op_mlu SRCS gather_op.cc DEPS
${
subgraph_bridge_deps_mlu
}
)
list
(
APPEND mlu_subgraph_bridges subgraph_bridge_gather_op_mlu
)
lite_cc_library
(
subgraph_bridge_norm_op_mlu SRCS norm_op.cc DEPS
${
subgraph_bridge_deps_mlu
}
)
list
(
APPEND mlu_subgraph_bridges subgraph_bridge_norm_op_mlu
)
set
(
mlu_subgraph_bridges
"
${
mlu_subgraph_bridges
}
"
subgraph_bridge_lrn_op_mlu
subgraph_bridge_gather_op_mlu
subgraph_bridge_norm_op_mlu
CACHE INTERNAL
"mlu_subgraph_bridges"
)
endif
()
lite_cc_library
(
subgraph_test_helper_mlu SRCS test_helper.cc DEPS
${
mlu_subgraph_bridges
}
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录