From 4726fdf9f7bb9638ffbb4e358cc788686b68a414 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Sat, 23 Sep 2017 10:47:54 +0100 Subject: COMPMID-541: Fix padding in CLMinMaxLocationKernel Change-Id: Ie17e3f14c428553d433da2a564e016bfac7749a9 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88881 Tested-by: Kaizen Reviewed-by: Gian Marco Iodice Reviewed-by: Michalis Spyrou --- tests/validation/CL/MinMaxLocation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/validation/CL/MinMaxLocation.cpp b/tests/validation/CL/MinMaxLocation.cpp index 58a84bd649..acc4cbf1cb 100644 --- a/tests/validation/CL/MinMaxLocation.cpp +++ b/tests/validation/CL/MinMaxLocation.cpp @@ -47,8 +47,8 @@ void validate_configuration(const CLTensor &src, TensorShape shape) ARM_COMPUTE_EXPECT(src.info()->is_resizable(), framework::LogLevel::ERRORS); // Create output storage - int32_t min{}; - int32_t max{}; + int32_t min = 0; + int32_t max = 0; CLCoordinates2DArray min_loc(shape.total_size()); CLCoordinates2DArray max_loc(shape.total_size()); @@ -57,7 +57,7 @@ void validate_configuration(const CLTensor &src, TensorShape shape) min_max_loc.configure(&src, &min, &max, &min_loc, &max_loc); // Validate padding - const PaddingSize padding = PaddingCalculator(shape.x(), src.info()->dimension(0)).required_padding(); + const PaddingSize padding = PaddingCalculator(shape.x(), 16).required_padding(); validate(src.info()->padding(), padding); } -- cgit v1.2.1