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

[PHI decoupling] add "cpu_info.h" to phi #48403

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

AndPuQing
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

在 phi 中只是使用了 fluid cpu_info.h 的部分宏,以及enum,所以该pr只是迁移了这一部分内容

另外,为了避免不同空间enum之间的类型错误(像paddle::platform::avx -> phi::backends::cpu::avx),所以在 fluid 下的cpu_info.h 添加了使用 phi::backends::cpu 命名空间

@paddle-bot
Copy link

paddle-bot bot commented Nov 25, 2022

你的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.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Nov 25, 2022
@luotao1
Copy link
Contributor

luotao1 commented Nov 28, 2022

@YuanRisheng 可以进行 review

@YuanRisheng YuanRisheng merged commit 923ad5d into PaddlePaddle:develop Nov 28, 2022
@AndPuQing AndPuQing deleted the patch-cpu_info branch November 28, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants