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

Correct the return type of elementwise kernel to avoid many compiling warnings. #35839

Merged
merged 1 commit into from
Sep 18, 2021

Conversation

Xreki
Copy link
Contributor

@Xreki Xreki commented Sep 17, 2021

PR types

Function optimization

PR changes

OPs

Describe

函数没有返回值,返回类型被误写成OutT了,因而造成了很多编译warning,这个PR将其改回void

@paddle-bot-old
Copy link

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

Copy link
Contributor

@wzzju wzzju left a comment

Choose a reason for hiding this comment

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

LGTM

@Xreki Xreki merged commit 71f051f into PaddlePaddle:develop Sep 18, 2021
@Xreki Xreki deleted the opt/elementwise_fix_return branch September 18, 2021 08:34
Xreki added a commit to Xreki/Paddle that referenced this pull request Sep 18, 2021
lanxianghit pushed a commit that referenced this pull request Sep 22, 2021
AnnaTrainingG pushed a commit to AnnaTrainingG/Paddle that referenced this pull request Sep 29, 2021
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.

2 participants