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

Optimize the error messages of the CUDA implementation of activation ops #27741

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

hong19860320
Copy link
Contributor

PR types

Function optimization

PR changes

OPs

Describe

按照《报错信息文案书写规范(Error Message Writing Specification)》规范的要求,对于activation ops  的CUDA实现中cudnn APIs调用返回值的检查,直接使用PADDLE_ENFORCE_CUDA_SUCCESS。

@paddle-bot-old
Copy link

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

@chenwhql chenwhql merged commit 7a96d57 into PaddlePaddle:develop Sep 30, 2020
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.

None yet

2 participants