Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
22e81907
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
22e81907
编写于
9月 30, 2022
作者:
H
HongyuJia
提交者:
GitHub
9月 30, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change mkldnn kernel layout, ALL_LAYOUT->ONEDNN (#46626)
上级
4744cbc7
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
17 addition
and
35 deletion
+17
-35
paddle/phi/kernels/onednn/reduce_max_kernel.cc
paddle/phi/kernels/onednn/reduce_max_kernel.cc
+2
-6
paddle/phi/kernels/onednn/reduce_mean_grad_kernel.cc
paddle/phi/kernels/onednn/reduce_mean_grad_kernel.cc
+1
-1
paddle/phi/kernels/onednn/reduce_mean_kernel.cc
paddle/phi/kernels/onednn/reduce_mean_kernel.cc
+3
-6
paddle/phi/kernels/onednn/reduce_min_kernel.cc
paddle/phi/kernels/onednn/reduce_min_kernel.cc
+2
-6
paddle/phi/kernels/onednn/reduce_sum_grad_kernel.cc
paddle/phi/kernels/onednn/reduce_sum_grad_kernel.cc
+3
-6
paddle/phi/kernels/onednn/reduce_sum_kernel.cc
paddle/phi/kernels/onednn/reduce_sum_kernel.cc
+2
-6
paddle/phi/kernels/reduce_max_kernel.cc
paddle/phi/kernels/reduce_max_kernel.cc
+1
-1
paddle/phi/kernels/reduce_mean_kernel.cc
paddle/phi/kernels/reduce_mean_kernel.cc
+1
-1
paddle/phi/kernels/reduce_min_kernel.cc
paddle/phi/kernels/reduce_min_kernel.cc
+1
-1
paddle/phi/kernels/reduce_sum_kernel.cc
paddle/phi/kernels/reduce_sum_kernel.cc
+1
-1
未找到文件。
paddle/phi/kernels/onednn/reduce_max_kernel.cc
浏览文件 @
22e81907
...
...
@@ -34,9 +34,5 @@ void MaxRawKernel(const Context& dev_ctx,
}
}
// namespace phi
PD_REGISTER_KERNEL
(
max_raw
,
OneDNN
,
ALL_LAYOUT
,
phi
::
MaxRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
PD_REGISTER_KERNEL
(
max_raw
,
OneDNN
,
ONEDNN
,
phi
::
MaxRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
paddle/phi/kernels/onednn/reduce_mean_grad_kernel.cc
浏览文件 @
22e81907
...
...
@@ -55,7 +55,7 @@ void MeanGradKernel(const Context& dev_ctx,
PD_REGISTER_KERNEL
(
mean_grad
,
OneDNN
,
ALL_LAYOUT
,
ONEDNN
,
phi
::
MeanGradKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
paddle/phi/kernels/onednn/reduce_mean_kernel.cc
浏览文件 @
22e81907
...
...
@@ -34,9 +34,6 @@ void MeanRawKernel(const Context& dev_ctx,
}
}
// namespace phi
PD_REGISTER_KERNEL
(
mean_raw
,
OneDNN
,
ALL_LAYOUT
,
phi
::
MeanRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
PD_REGISTER_KERNEL
(
mean_raw
,
OneDNN
,
ONEDNN
,
phi
::
MeanRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{
}
paddle/phi/kernels/onednn/reduce_min_kernel.cc
浏览文件 @
22e81907
...
...
@@ -35,9 +35,5 @@ void MinRawKernel(const Context& dev_ctx,
}
// namespace phi
PD_REGISTER_KERNEL
(
min_raw
,
OneDNN
,
ALL_LAYOUT
,
phi
::
MinRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
PD_REGISTER_KERNEL
(
min_raw
,
OneDNN
,
ONEDNN
,
phi
::
MinRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
paddle/phi/kernels/onednn/reduce_sum_grad_kernel.cc
浏览文件 @
22e81907
...
...
@@ -39,9 +39,6 @@ void SumGradKernel(const Context& dev_ctx,
}
}
// namespace phi
PD_REGISTER_KERNEL
(
sum_grad
,
OneDNN
,
ALL_LAYOUT
,
phi
::
SumGradKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
PD_REGISTER_KERNEL
(
sum_grad
,
OneDNN
,
ONEDNN
,
phi
::
SumGradKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{
}
paddle/phi/kernels/onednn/reduce_sum_kernel.cc
浏览文件 @
22e81907
...
...
@@ -35,9 +35,5 @@ void SumRawKernel(const Context& dev_ctx,
}
}
// namespace phi
PD_REGISTER_KERNEL
(
sum_raw
,
OneDNN
,
ALL_LAYOUT
,
phi
::
SumRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
PD_REGISTER_KERNEL
(
sum_raw
,
OneDNN
,
ONEDNN
,
phi
::
SumRawKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
paddle/phi/kernels/reduce_max_kernel.cc
浏览文件 @
22e81907
...
...
@@ -48,7 +48,7 @@ PD_REGISTER_KERNEL(max, KPS, ALL_LAYOUT, phi::MaxKernel, float) {}
#if defined(PADDLE_WITH_MKLDNN)
PD_REGISTER_KERNEL
(
max
,
OneDNN
,
ALL_LAYOUT
,
phi
::
MaxKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
max
,
OneDNN
,
ONEDNN
,
phi
::
MaxKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
#endif
#if defined(PADDLE_WITH_XPU)
...
...
paddle/phi/kernels/reduce_mean_kernel.cc
浏览文件 @
22e81907
...
...
@@ -53,7 +53,7 @@ PD_REGISTER_KERNEL(mean, KPS, ALL_LAYOUT, phi::MeanKernel, float) {}
#if defined(PADDLE_WITH_MKLDNN)
PD_REGISTER_KERNEL
(
mean
,
OneDNN
,
ALL_LAYOUT
,
phi
::
MeanKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
mean
,
OneDNN
,
ONEDNN
,
phi
::
MeanKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
#endif
#if defined(PADDLE_WITH_XPU)
...
...
paddle/phi/kernels/reduce_min_kernel.cc
浏览文件 @
22e81907
...
...
@@ -48,7 +48,7 @@ PD_REGISTER_KERNEL(min, KPS, ALL_LAYOUT, phi::MinKernel, float) {}
#if defined(PADDLE_WITH_MKLDNN)
PD_REGISTER_KERNEL
(
min
,
OneDNN
,
ALL_LAYOUT
,
phi
::
MinKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
min
,
OneDNN
,
ONEDNN
,
phi
::
MinKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
#endif
#if defined(PADDLE_WITH_XPU)
...
...
paddle/phi/kernels/reduce_sum_kernel.cc
浏览文件 @
22e81907
...
...
@@ -81,7 +81,7 @@ PD_REGISTER_KERNEL(sum, KPS, ALL_LAYOUT, phi::SumKernel, float) {
#if defined(PADDLE_WITH_MKLDNN)
PD_REGISTER_KERNEL
(
sum
,
OneDNN
,
ALL_LAYOUT
,
phi
::
SumKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
sum
,
OneDNN
,
ONEDNN
,
phi
::
SumKernel
,
float
,
phi
::
dtype
::
bfloat16
)
{}
#endif
#if defined(PADDLE_WITH_XPU)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录