diff options
author | Freddie Liardet <frederick.liardet@arm.com> | 2021-07-28 14:24:02 +0100 |
---|---|---|
committer | frederick.liardet <frederick.liardet@arm.com> | 2021-07-28 15:34:16 +0000 |
commit | bb5d42c34f1271387a633c179c612b43b07c7a01 (patch) | |
tree | c00970c4d09652e4afdb81424d0d0766ed7b9c12 /src/core/cpu | |
parent | f81f51c0e9ffa279f41bba3ceee17561eeecbf91 (diff) | |
download | ComputeLibrary-bb5d42c34f1271387a633c179c612b43b07c7a01.tar.gz |
Fix cpu GEMM fp16 issue
Fix issue where incorrect window variable was used for calculation in
the cpu GEMM fp16 case.
Signed-off-by: Freddie Liardet <frederick.liardet@arm.com>
Change-Id: I3a0257906e6de312b3d6fd696f118f66aae6e0c1
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6012
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/cpu')
-rw-r--r-- | src/core/cpu/kernels/CpuGemmMatrixAdditionKernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu/kernels/CpuGemmMatrixAdditionKernel.cpp b/src/core/cpu/kernels/CpuGemmMatrixAdditionKernel.cpp index cc39cdfe83..da0f7b135e 100644 --- a/src/core/cpu/kernels/CpuGemmMatrixAdditionKernel.cpp +++ b/src/core/cpu/kernels/CpuGemmMatrixAdditionKernel.cpp @@ -101,7 +101,7 @@ void matrix_addition_f16(const ITensor *src, ITensor *dst, const Window &window, Iterator in(src, win); Iterator out(dst, win); - execute_window_loop(window, [&](const Coordinates &) + execute_window_loop(win, [&](const Coordinates &) { const auto in_ptr = reinterpret_cast<const float16_t *>(in.ptr()); const auto out_ptr = reinterpret_cast<float16_t *>(out.ptr()); |