From 22fa4c2d2440208870eb94de8694c05f2605cfe8 Mon Sep 17 00:00:00 2001 From: LielinJiang <50691816+LielinJiang@users.noreply.github.com> Date: Thu, 1 Aug 2019 10:28:36 +0800 Subject: [PATCH] Fix depthwise conv gpu kernel bug (#18582) * 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