diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-09-23 10:47:54 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 4726fdf9f7bb9638ffbb4e358cc788686b68a414 (patch) | |
tree | 5f578776ae671a54c91d11c8b76de687dc7d02c3 /tests/validation | |
parent | 219c69108f72a0c01f0f14dda579fc0bce808d07 (diff) | |
download | ComputeLibrary-4726fdf9f7bb9638ffbb4e358cc788686b68a414.tar.gz |
COMPMID-541: Fix padding in CLMinMaxLocationKernel
Change-Id: Ie17e3f14c428553d433da2a564e016bfac7749a9
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88881
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'tests/validation')
-rw-r--r-- | tests/validation/CL/MinMaxLocation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |