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

[PTEN] Add xpu context. #39098

Merged
merged 26 commits into from
Jan 25, 2022
Merged

[PTEN] Add xpu context. #39098

merged 26 commits into from
Jan 25, 2022

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Jan 20, 2022

PR types

Others

PR changes

Others

Describe

1、添加XPUContext;(基本同原platform::XPUDeviceContext);
2、xpu_info从platform移到pten::backends::xpu命名空间下。

TODO:
xpu相关的device_info,部分文件(bkcl_helper.h)依赖了fluid的scope等概念,因此未迁移,可能影响xpu分布式相关的算子迁移。

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@jiweibo jiweibo merged commit c1e5a39 into PaddlePaddle:develop Jan 25, 2022
@jiweibo jiweibo deleted the xpu_context branch January 25, 2022 03:04
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.

3 participants