[IE][VPU][Custom CL]: Fix binary convolution3x3 3d transaction (#2144)
authorMaxim Kurin <maxim.kurin@intel.com>
Thu, 10 Sep 2020 08:55:32 +0000 (11:55 +0300)
committerGitHub <noreply@github.com>
Thu, 10 Sep 2020 08:55:32 +0000 (11:55 +0300)
* Fix binary_convolution3x3.cl kernel & test

inference-engine/src/vpu/custom_kernels/binary_convolution3x3.cl
inference-engine/tests_deprecated/functional/vpu/common/layers/myriad_layers_custom_test.hpp

index 7c49586..a81bb4d 100644 (file)
@@ -53,7 +53,7 @@ __kernel void binary_convolution(
             DH * IW - IW, // src_line_stride
             0, // dst_line_stride
             IC / GC, // num planes
-            IH * IW - 3 * IW, // src plane stride
+            IH * IW - 3 * DH * IW, // src plane stride
             0, // dst plane stride
             0);
         wait_group_events(1, &e);
index 20c18a2..fb592d8 100644 (file)
@@ -1057,10 +1057,6 @@ TEST_P(myriadLayersTestsBinaryConvolution_smoke, BinaryConvolution) {
     }
     _config[InferenceEngine::MYRIAD_CUSTOM_LAYERS] = customConfig;
 
-    if (kernel.x == 3 && kernel.y == 3 && dilations == 2) {
-        GTEST_SKIP() << "Computing wrong after hoisting";
-    }
-
     SetInputTensor(dims);
     auto dimsOutput = dims;
     dimsOutput.h = (dims.h) / strides;