-
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
fix windows for optimization of elementwise_add Op #31068
fix windows for optimization of elementwise_add Op #31068
Conversation
Thanks for your contribution! |
@@ -315,7 +315,7 @@ class ElementwiseAddGradKernel : public ElemwiseGradKernel<T> { | |||
// skip out | |||
auto *out = dout; | |||
|
|||
#ifdef PADDLE_WITH_CUDA | |||
#if defined(PADDLE_WITH_CUDA) && defined(_LINUX) |
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.
better to add TODO for Windows
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 for op benchmark
This reverts commit 364cfa2.
PR types
Bug fixes
PR changes
APIs
Describe
修复conv2d_transpose 在window下出现的精度问题