aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/gemm.cl
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2018-12-19 14:17:22 +0000
committerGian Marco Iodice <gianmarco.iodice@arm.com>2018-12-20 16:57:08 +0000
commit89124346020553068abc66a8f083193fbbdac03e (patch)
tree71e8352a348b6975e3be12657efbd2e70e448bea /src/core/CL/cl_kernels/gemm.cl
parentf7d418c37e693c1693596bfa6e9ccbcea7c0b544 (diff)
downloadComputeLibrary-89124346020553068abc66a8f083193fbbdac03e.tar.gz
COMPMID-1858: Fix boundary check in gemm_reshape_rhs_matrix_t and gemm_reshape_rhs_matrix_nt
Change-Id: Ic935f1947f3f3a60455a8108fcf6f313258abe51 Reviewed-on: https://review.mlplatform.org/425 Tested-by: Anthony Barbier <Anthony.barbier@arm.com> Reviewed-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/gemm.cl')
-rw-r--r--src/core/CL/cl_kernels/gemm.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/gemm.cl b/src/core/CL/cl_kernels/gemm.cl
index 35971f3d7e..7a861dd207 100644
--- a/src/core/CL/cl_kernels/gemm.cl
+++ b/src/core/CL/cl_kernels/gemm.cl
@@ -895,7 +895,7 @@ __kernel void gemm_reshape_rhs_matrix_t(TENSOR3D_DECLARATION(src),
}
#endif // K0 > 4
#if K0 > 8
- if(y * (uint)K0 + 9 < SRC_HEIGHT)
+ if(y * (uint)K0 + 8 < SRC_HEIGHT)
{
a8 = VLOAD(N0)(0, (__global DATA_TYPE *)(input_ptr + 8 * src_stride_y));
}