COMPMID-2452: Fix CLDepthwiseConvolutionLayerNativeKernel
Change-Id: I284e4f4200a4b688bfd908e417b00973b547abda
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2140
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
diff --git a/src/core/CL/cl_kernels/depthwise_convolution.cl b/src/core/CL/cl_kernels/depthwise_convolution.cl
index 3a22728..c050175 100644
--- a/src/core/CL/cl_kernels/depthwise_convolution.cl
+++ b/src/core/CL/cl_kernels/depthwise_convolution.cl
@@ -1377,8 +1377,9 @@
__kernel void dwc_MxN_native_fp_nhwc(
TENSOR4D_DECLARATION(src),
TENSOR4D_DECLARATION(dst),
- TENSOR3D_DECLARATION(weights),
+ TENSOR3D_DECLARATION(weights)
#if defined(HAS_BIAS)
+ ,
VECTOR_DECLARATION(biases)
#endif // defined(HAS_BIAS)
)
diff --git a/src/core/CL/cl_kernels/depthwise_convolution_quantized.cl b/src/core/CL/cl_kernels/depthwise_convolution_quantized.cl
index 10872d4..94373b7 100644
--- a/src/core/CL/cl_kernels/depthwise_convolution_quantized.cl
+++ b/src/core/CL/cl_kernels/depthwise_convolution_quantized.cl
@@ -1434,8 +1434,9 @@
__kernel void dwc_MxN_native_quantized8_nhwc(
TENSOR4D_DECLARATION(src),
TENSOR4D_DECLARATION(dst),
- TENSOR3D_DECLARATION(weights),
+ TENSOR3D_DECLARATION(weights)
#if defined(HAS_BIAS)
+ ,
VECTOR_DECLARATION(biases)
#endif // defined(HAS_BIAS)
)