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] Rename kernel register marco #38861

Merged
merged 6 commits into from
Jan 13, 2022

Conversation

chenwhql
Copy link
Contributor

PR types

Function optimization

PR changes

Others

Describe

[PTen] Rename kernel register marco

PT_REGISTER_CTX_KERNEL更名为PT_REGISTER_KERNEL,因为目前及将来PT_REGISTER_CTX_KERNEL是使用最为广泛的注册宏,所以我们让它的命名更加通用,简洁,去除中间可能使开发者困惑的CTX

本PR仅做此一处修改,无其他功能改动

@paddle-bot-old
Copy link

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

YuanRisheng
YuanRisheng previously approved these changes Jan 11, 2022
zyfncg
zyfncg previously approved these changes Jan 12, 2022
XiaoguangHu01
XiaoguangHu01 previously approved these changes Jan 13, 2022
Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@MingMingShangTian MingMingShangTian left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

@chenwhql chenwhql merged commit 158bf13 into PaddlePaddle:develop Jan 13, 2022
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.

5 participants