We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b73c8 commit feacd8aCopy full SHA for feacd8a
paddle/fluid/operators/elementwise/elementwise_add_op.h
@@ -317,7 +317,7 @@ class ElementwiseAddGradKernel : public ElemwiseGradKernel<T> {
317
318
// TODO(@wangchaochaohu, zhouwei35): Fix conv_transpose2d API(dataformat NHWC)
319
// error in Windows
320
-#if defined(PADDLE_WITH_CUDA) && defined(_LINUX)
+#if defined(PADDLE_WITH_CUDA) && !defined(_WIN32)
321
#ifdef __NVCC__
322
323
int axis = ctx.Attr<int>("axis");
0 commit comments