From ee94f6aaf774f1b7841cb43dbefbb4ef5b373bde Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Mon, 11 Sep 2017 17:38:02 +0100 Subject: COMPMID-415 - Fixed bug in CLDirectConvolutionKernel Change-Id: I95f5bc2237851ae91438809f373ccdd4bb8cd34e Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87279 Tested-by: Kaizen Reviewed-by: Moritz Pflanzer Reviewed-by: Georgios Pinitas --- src/core/TensorInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/TensorInfo.cpp') diff --git a/src/core/TensorInfo.cpp b/src/core/TensorInfo.cpp index 3d07ccb69a..91a35315dc 100644 --- a/src/core/TensorInfo.cpp +++ b/src/core/TensorInfo.cpp @@ -244,13 +244,13 @@ std::tuple TensorInfo::calculate_padding_requirements(c { if(_tensor_shape.total_size() > 0) { - required_strides = Strides(stride_x); + required_strides = Strides(stride_x, stride_x); required_total_size = stride_z; } break; } case 1: - required_strides = compute_strides(*this, stride_x); + required_strides = compute_strides(*this, stride_x, stride_y); required_total_size = stride_z; break; case 2: -- cgit v1.2.1