diff --git a/paddle/fluid/operators/elementwise/elementwise_add_op.h b/paddle/fluid/operators/elementwise/elementwise_add_op.h index 8c1279a5798959dfd51ccbc5f4e6dab569c232f9..41e97a3946695ec9384d10293b1e54f7b2a5cfad 100644 --- a/paddle/fluid/operators/elementwise/elementwise_add_op.h +++ b/paddle/fluid/operators/elementwise/elementwise_add_op.h @@ -315,9 +315,7 @@ class ElementwiseAddGradKernel : public ElemwiseGradKernel { // skip out auto *out = dout; -// TODO(@wangchaochaohu, zhouwei35): Fix conv_transpose2d API(dataformat NHWC) -// error in Windows -#if defined(PADDLE_WITH_CUDA) && defined(_LINUX) +#ifdef PADDLE_WITH_CUDA #ifdef __NVCC__ int axis = ctx.Attr("axis");