Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
a01b20dd
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
a01b20dd
编写于
5月 08, 2023
作者:
G
gouzil
提交者:
GitHub
5月 08, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[test]mv fluid op mkldnn to test/cpp/fluid/mkldnn (#53458)
上级
fca8595e
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
55 addition
and
39 deletion
+55
-39
paddle/fluid/operators/CMakeLists.txt
paddle/fluid/operators/CMakeLists.txt
+0
-6
paddle/fluid/operators/mkldnn/inplace_op_tests.cmake
paddle/fluid/operators/mkldnn/inplace_op_tests.cmake
+0
-12
paddle/fluid/operators/mkldnn/nhwc_op_tests.cmake
paddle/fluid/operators/mkldnn/nhwc_op_tests.cmake
+0
-18
test/cpp/fluid/CMakeLists.txt
test/cpp/fluid/CMakeLists.txt
+3
-3
test/cpp/fluid/mkldnn/CMakeLists.txt
test/cpp/fluid/mkldnn/CMakeLists.txt
+52
-0
test/cpp/fluid/mkldnn/test_mkldnn_caching.cc
test/cpp/fluid/mkldnn/test_mkldnn_caching.cc
+0
-0
test/cpp/fluid/mkldnn/test_mkldnn_op_inplace.cc
test/cpp/fluid/mkldnn/test_mkldnn_op_inplace.cc
+0
-0
test/cpp/fluid/mkldnn/test_mkldnn_op_nhwc.cc
test/cpp/fluid/mkldnn/test_mkldnn_op_nhwc.cc
+0
-0
未找到文件。
paddle/fluid/operators/CMakeLists.txt
浏览文件 @
a01b20dd
...
...
@@ -175,12 +175,6 @@ endif()
set
(
GLOB_OP_LIB
${
OP_LIBRARY
}
CACHE INTERNAL
"Global OP library"
)
if
(
WITH_MKLDNN
)
include
(
mkldnn/inplace_op_tests.cmake
)
include
(
mkldnn/caching_tests.cmake
)
include
(
mkldnn/nhwc_op_tests.cmake
)
endif
()
if
(
WITH_UNITY_BUILD
)
# Using Unity Build to compile operators, `register_operator` will cause
# the unity library to lose some symbols.
...
...
paddle/fluid/operators/mkldnn/inplace_op_tests.cmake
已删除
100644 → 0
浏览文件 @
fca8595e
cc_test
(
test_mkldnn_op_inplace
SRCS mkldnn/test_mkldnn_op_inplace.cc
DEPS op_registry
elementwise_add_op
activation_op
softmax_op
softmax
scope
device_context
enforce
executor
)
paddle/fluid/operators/mkldnn/nhwc_op_tests.cmake
已删除
100644 → 0
浏览文件 @
fca8595e
cc_test_old
(
test_mkldnn_op_nhwc
SRCS
mkldnn/test_mkldnn_op_nhwc.cc
DEPS
op_registry
pool_op
shape_op
crop_op
activation_op
generated_op
pooling
transpose_op
fused_transpose_op
scope
device_context
enforce
executor
)
test/cpp/fluid/CMakeLists.txt
浏览文件 @
a01b20dd
...
...
@@ -11,9 +11,9 @@ if(WITH_LITE)
add_subdirectory
(
lite
)
endif
()
add_subdirectory
(
math
)
#
if(WITH_MKLDNN)
#
add_subdirectory(mkldnn)
#
endif()
if
(
WITH_MKLDNN
)
add_subdirectory
(
mkldnn
)
endif
()
add_subdirectory
(
nccl
)
if
(
WITH_PSCORE
)
add_subdirectory
(
pscore
)
...
...
paddle/fluid/operators/mkldnn/caching_tests.cmake
→
test/cpp/fluid/mkldnn/CMakeLists.txt
浏览文件 @
a01b20dd
cc_test
(
test_mkldnn_op_inplace
SRCS test_mkldnn_op_inplace.cc
DEPS op_registry
elementwise_add_op
activation_op
softmax_op
softmax
scope
device_context
enforce
executor
)
set
(
TEST_MKLDNN_CACHING_DEPS
op_registry
elementwise_mul_op
...
...
@@ -16,5 +29,24 @@ if(WITH_GPU OR WITH_ROCM)
endif
()
cc_test
(
test_mkldnn_caching
SRCS
mkldnn/
test_mkldnn_caching.cc
SRCS test_mkldnn_caching.cc
DEPS
${
TEST_MKLDNN_CACHING_DEPS
}
)
cc_test_old
(
test_mkldnn_op_nhwc
SRCS
test_mkldnn_op_nhwc.cc
DEPS
op_registry
pool_op
shape_op
crop_op
activation_op
generated_op
pooling
transpose_op
fused_transpose_op
scope
device_context
enforce
executor
)
paddle/fluid/operators
/mkldnn/test_mkldnn_caching.cc
→
test/cpp/fluid
/mkldnn/test_mkldnn_caching.cc
浏览文件 @
a01b20dd
文件已移动
paddle/fluid/operators
/mkldnn/test_mkldnn_op_inplace.cc
→
test/cpp/fluid
/mkldnn/test_mkldnn_op_inplace.cc
浏览文件 @
a01b20dd
文件已移动
paddle/fluid/operators
/mkldnn/test_mkldnn_op_nhwc.cc
→
test/cpp/fluid
/mkldnn/test_mkldnn_op_nhwc.cc
浏览文件 @
a01b20dd
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录