-
Notifications
You must be signed in to change notification settings - Fork 724
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
[ROCM] add is_compiled_with_rocm api, test=develop #3526
Conversation
Thanks for your contribution! |
|
||
返回:支持GPU(ROCm)则为True,否则为False。 | ||
|
||
返回:是否支持GPU(ROCm)的bool值 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13、15 写成一行吧,
返回:bool,支持GPU(ROCm)则为True,否则为False。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,24 @@ | |||
.. _cn_api_fluid_is_compiled_with_rocm: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_cn_api_fluid_is_compiled_with_rocm -> _cn_api_paddle_is_compiled_with_rocm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add new api of "is_compiled_with_rocm"
PaddlePaddle/Paddle#33043
文档预览如下:
http://10.136.157.23:8090/documentation/docs/zh//faq/index_cn.html?reviewVersion=jenkins-doc-review-772