From 901a61a13123efe8631ea58b420c7938854fc57e Mon Sep 17 00:00:00 2001 From: Renato Arantes Date: Thu, 15 Jun 2023 13:40:02 +0000 Subject: Address the issues with the ACL coverage pipeline failures related to matmul. Signed-off-by: Renato Arantes Change-Id: I98de659d1289c930e366727d4799f0dacc8121ab Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9782 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: SiCong Li Reviewed-by: Jakub Sujak Comments-Addressed: Arm Jenkins --- src/cpu/operators/CpuGemm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpu/operators/CpuGemm.cpp b/src/cpu/operators/CpuGemm.cpp index 7411d763b4..34b845928d 100644 --- a/src/cpu/operators/CpuGemm.cpp +++ b/src/cpu/operators/CpuGemm.cpp @@ -173,7 +173,8 @@ Status CpuGemm::validate(const ITensorInfo *a, const ITensorInfo *b, const ITens } const int block_by = arm_compute::block_by(gemm_info.weight_format()); - if(block_by > 1) + // test if im2col has changed the dimensions that are needed for padding + if(a->dimension(0) != b->dimension(1) && block_by > 1) { // have to verify bias const size_t dim0_sz = a->dimension(0); -- cgit v1.2.1