-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
delete WITH_ASCEND_CL #52825
delete WITH_ASCEND_CL #52825
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
paddle/phi/backends/context_pool.cc
Outdated
@@ -69,7 +69,7 @@ phi::DeviceContext* DeviceContextPool::Get(const phi::Place& place) { | |||
if (it == ptr->end()) { | |||
PADDLE_THROW(phi::errors::Unimplemented( | |||
"Place %s is not supported. Please check that your paddle compiles " | |||
"with WITH_GPU, WITH_XPU, WITH_IPU, WITH_MLU or WITH_ASCEND_CL option " | |||
"with WITH_GPU, WITH_XPU, WITH_IPU or WITH_MLU option " |
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.
WITH_MLU 也可以删了
@@ -235,7 +235,7 @@ bool GetCondData(const phi::DenseTensor &cond) { | |||
PADDLE_THROW(platform::errors::PreconditionNotMet( | |||
"This version of PaddlePaddle does NOT support GPU/NPU/XPU but got " | |||
"GPU/NPU/XPU tensor Cond in WhileOp. Please compile WITH_GPU or " |
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.
两处 GPU/NPU/XPU 都可以改成 GPU/XPU
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
PR types
Others
PR changes
Others
Describe
#52319