From 07e7ebebb7762a1e517b90c28ca7dcfa1553e3ae Mon Sep 17 00:00:00 2001 From: LielinJiang <50691816+LielinJiang@users.noreply.github.com> Date: Tue, 27 Aug 2019 13:47:56 +0800 Subject: [PATCH] Fix depthwise conv gpu kernel bug (#18582) (#19392) * fix depthwise conv gpu kernel bug, test=develop * add more depthwise conv test, test=develop --- paddle/fluid/operators/math/depthwise_conv.cu | 8 +++- .../fluid/tests/unittests/test_conv2d_op.py | 42 +++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/math/depthwise_conv.cu b/paddle/fluid/operators/math/depthwise_conv.cu index 240cec14dc2..a372f6fa718 100644 --- a/paddle/fluid/operators/math/depthwise_conv.cu +++ b/paddle/fluid/operators/math/depthwise_conv.cu @@ -487,8 +487,12 @@ class DepthwiseConvFunctor