Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
6813f41e
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
6813f41e
编写于
9月 02, 2022
作者:
K
kangguangli
提交者:
GitHub
9月 02, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
move onednn file from phi/kernels/funcs/onednn to phi/backends/onednn (#45659)
上级
6afa209f
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
8 addition
and
8 deletion
+8
-8
paddle/fluid/platform/mkldnn_reuse.h
paddle/fluid/platform/mkldnn_reuse.h
+2
-2
paddle/phi/backends/onednn/onednn_helper.h
paddle/phi/backends/onednn/onednn_helper.h
+0
-0
paddle/phi/backends/onednn/onednn_reuse.h
paddle/phi/backends/onednn/onednn_reuse.h
+1
-1
paddle/phi/kernels/funcs/data_layout_transform.cc
paddle/phi/kernels/funcs/data_layout_transform.cc
+2
-2
paddle/phi/kernels/onednn/activation_grad_kernel.cc
paddle/phi/kernels/onednn/activation_grad_kernel.cc
+1
-1
paddle/phi/kernels/onednn/activation_kernel.cc
paddle/phi/kernels/onednn/activation_kernel.cc
+1
-1
paddle/phi/kernels/transfer_layout_kernel.cc
paddle/phi/kernels/transfer_layout_kernel.cc
+1
-1
未找到文件。
paddle/fluid/platform/mkldnn_reuse.h
浏览文件 @
6813f41e
...
...
@@ -25,7 +25,7 @@ limitations under the License. */
#include "paddle/fluid/operators/pool_op.h"
#include "paddle/fluid/platform/mkldnn_helper.h"
#include "paddle/fluid/platform/place.h"
#include "paddle/phi/
kernels/func
s/onednn/onednn_reuse.h"
#include "paddle/phi/
backend
s/onednn/onednn_reuse.h"
namespace
paddle
{
namespace
platform
{
...
...
@@ -572,7 +572,7 @@ class BroadcastDataMKLDNNHandler
};
static
void
AppendActivation
(
const
framework
::
ExecutionContext
&
ctx
,
dnnl
::
post_ops
&
post_ops
,
dnnl
::
post_ops
&
post_ops
,
// NOLINT
float
activation_scale
=
1.0
f
)
{
const
auto
invalid_attribute
=
ctx
.
HasAttr
(
"fuse_activation"
)
...
...
paddle/phi/
kernels/func
s/onednn/onednn_helper.h
→
paddle/phi/
backend
s/onednn/onednn_helper.h
浏览文件 @
6813f41e
文件已移动
paddle/phi/
kernels/func
s/onednn/onednn_reuse.h
→
paddle/phi/
backend
s/onednn/onednn_reuse.h
浏览文件 @
6813f41e
...
...
@@ -22,10 +22,10 @@ limitations under the License. */
#include "paddle/fluid/platform/profiler/event_tracing.h"
#include "paddle/phi/backends/onednn/onednn_context.h"
#include "paddle/phi/backends/onednn/onednn_helper.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/place.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/kernels/funcs/onednn/onednn_helper.h"
namespace
phi
{
namespace
funcs
{
...
...
paddle/phi/kernels/funcs/data_layout_transform.cc
浏览文件 @
6813f41e
...
...
@@ -25,8 +25,8 @@
#include "paddle/phi/core/dense_tensor.h"
#ifdef PADDLE_WITH_MKLDNN
#include "paddle/phi/
kernels/func
s/onednn/onednn_helper.h"
#include "paddle/phi/
kernels/func
s/onednn/onednn_reuse.h"
#include "paddle/phi/
backend
s/onednn/onednn_helper.h"
#include "paddle/phi/
backend
s/onednn/onednn_reuse.h"
#endif
namespace
phi
{
...
...
paddle/phi/kernels/onednn/activation_grad_kernel.cc
浏览文件 @
6813f41e
...
...
@@ -15,11 +15,11 @@
#include "paddle/phi/kernels/activation_grad_kernel.h"
#include "paddle/phi/backends/onednn/onednn_context.h"
#include "paddle/phi/backends/onednn/onednn_reuse.h"
#include "paddle/phi/common/bfloat16.h"
#include "paddle/phi/common/place.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/kernels/funcs/activation_functor.h"
#include "paddle/phi/kernels/funcs/onednn/onednn_reuse.h"
namespace
phi
{
...
...
paddle/phi/kernels/onednn/activation_kernel.cc
浏览文件 @
6813f41e
...
...
@@ -15,11 +15,11 @@
#include "paddle/phi/kernels/activation_kernel.h"
#include "paddle/phi/backends/onednn/onednn_context.h"
#include "paddle/phi/backends/onednn/onednn_reuse.h"
#include "paddle/phi/common/bfloat16.h"
#include "paddle/phi/common/place.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/kernels/funcs/activation_functor.h"
#include "paddle/phi/kernels/funcs/onednn/onednn_reuse.h"
namespace
phi
{
...
...
paddle/phi/kernels/transfer_layout_kernel.cc
浏览文件 @
6813f41e
...
...
@@ -23,7 +23,7 @@ limitations under the License. */
#include "paddle/phi/kernels/funcs/data_layout_transform.h"
#include "paddle/phi/kernels/funcs/math_function.h"
#ifdef PADDLE_WITH_MKLDNN
#include "paddle/phi/
kernels/func
s/onednn/onednn_helper.h"
#include "paddle/phi/
backend
s/onednn/onednn_helper.h"
#endif
namespace
phi
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录