diff options
author | Renato Arantes <renato.arantes@arm.com> | 2023-06-15 13:40:02 +0000 |
---|---|---|
committer | Renato Barros Arantes <renato.arantes@arm.com> | 2023-06-23 14:23:01 +0000 |
commit | 47a50ef12f513cfa8fde6673b8a61ed0f2d0fbaa (patch) | |
tree | 8b16782c96b6d40d5e845838c2c6279a9967c83d /src/cpu/operators | |
parent | a2561f0ff2bdd3fd7d968a56a19c35a59804b992 (diff) | |
download | ComputeLibrary-47a50ef12f513cfa8fde6673b8a61ed0f2d0fbaa.tar.gz |
Address the issues with the ACL coverage pipeline failures related to matmul.
Signed-off-by: Renato Arantes <renato.arantes@arm.com>
Change-Id: I98de659d1289c930e366727d4799f0dacc8121ab
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9782
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/operators')
-rw-r--r-- | src/cpu/operators/CpuGemm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |