-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PHI decoupling] move several header files from fluid to phi #48415
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
#include "paddle/fluid/memory/memory.h" | ||
#include "paddle/phi/backends/gpu/gpu_context.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里引入了 fluid
下的 memory.h
是因为这个文件通过 gpu_dnn.h
依赖了 memory.h
,而 phi
下的 gpu_dnn.h
已经移除了对 memory.h
的依赖,而且只有这一个文件,所以我就在这里加了 memory.h
,因为这样可以在后续处理 memory.h
的时候一起处理掉,更方便一些。
@YuanRisheng ,帮忙 review 一下 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@luotao1, @XiaoguangHu01 , @ZzSean 帮忙处理一下失败的 CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for CI-OP-Benchmark
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@luotao1 ,PR-CI-APPROVAL 里还有需要您帮忙处理的问题 |
PR types
Others
PR changes
Others
Describe
cuda/cudnn_desc.h
、cuda/cudnn_helper.h
、rocm/miopen_desc.h
、rocm/miopen_helper.h
、gpu_dnn.h
从paddle/fluid/platform/device/gpu/
目录移动至paddle/phi/backends/gpu
目录.fluid
目录下还有很多文件依赖gpu_dnn.h
,所以没有移除fluid
下的gpu_dnn.h
,同时这些文件通过gpu_dnn.h
对cuda/cudnn_helper.h
和rocm/miopen_helper.h
的依赖则通过在gpu_dnn.h
中使用using
处理了。