Skip to content
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

Revert "[Prim] add reduce_as op for paddle" #63756

Closed
wants to merge 1 commit into from

Conversation

Galaxy1458
Copy link
Contributor

@Galaxy1458 Galaxy1458 commented Apr 22, 2024

Reverts #63064
此PR导致PaddleCustomDevice仓库编译失败,阻碍业务交付周期
失败内容如下
514393794e88c84b1eb3c104ef06a322

Copy link

paddle-bot bot commented Apr 22, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/core/device_context.h"
#include "paddle/phi/kernels/funcs/common_shape.h"
#include "paddle/phi/kernels/funcs/reduce_functor.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是这里的kernel头文件引入 funcs下面的 common_shape.h 和 reduce_functor.h导致的,把这两个头文件移到kernel.cu文件里面,kernel.h的头文件都会通过extension.h对外暴露,尽量在kernel.h的头文件引入不必要的其他.h文件,放到kernel.cc或者kernel.cu里面去就不会影响了。

Copy link
Contributor

@cyber-pioneer cyber-pioneer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo:后续第三方问题修复后,恢复被revert的pr

Copy link

paddle-ci-bot bot commented Apr 30, 2024

Sorry to inform you that 6a12a89's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@luotao1 luotao1 closed this Jun 26, 2024
@luotao1 luotao1 deleted the revert-63064-sum branch June 26, 2024 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants