aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_gemm/gemm_native.hpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-05-09 18:23:57 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:51:17 +0000
commit71ac9c0e6f568231bab34bb5e19453a0d45fcff5 (patch)
treed3caa631568cb7d431c8ede9aaaaddb208c0ace5 /src/core/NEON/kernels/arm_gemm/gemm_native.hpp
parent5c2fb3f34462632b99331e2cc2d964c99fc1782b (diff)
downloadComputeLibrary-71ac9c0e6f568231bab34bb5e19453a0d45fcff5.tar.gz
COMPMID-1134: Fixing the Window reconstruction in gemm_native
Change-Id: Ibab955dbade4805c39cab003362be2bb3c74b166 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/130605 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/gemm_native.hpp')
-rw-r--r--src/core/NEON/kernels/arm_gemm/gemm_native.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/gemm_native.hpp b/src/core/NEON/kernels/arm_gemm/gemm_native.hpp
index 21861eb8b6..695236bdc4 100644
--- a/src/core/NEON/kernels/arm_gemm/gemm_native.hpp
+++ b/src/core/NEON/kernels/arm_gemm/gemm_native.hpp
@@ -106,7 +106,7 @@ public:
for(unsigned int multi = first_multi; multi <= last_multi; multi++)
{
const unsigned int batch_0 = (multi == first_multi) ? first_batch : 0;
- const unsigned int batch_max = (multi == last_multi) ? last_batch : _nbatches;
+ const unsigned int batch_max = (multi == last_multi) ? last_batch : _nbatches - 1;
for(unsigned int batch = batch_0; batch <= batch_max; batch++)
{