Skip to content

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

Merged
chenwhql merged 1 commit intoPaddlePaddle:developfrom
hong19860320:hongming/fix_error_msg
Sep 30, 2020
Merged

Optimize the error messages of the CUDA implementation of activation ops#27741
chenwhql merged 1 commit intoPaddlePaddle:developfrom
hong19860320:hongming/fix_error_msg

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.

2 participants