diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2023-12-15 15:55:16 +0000 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2023-12-15 16:45:30 +0000 |
commit | 306a8a9fb0dacd2c1e5d65f76420c12162203986 (patch) | |
tree | b79be8bb2ef3d451c052f7567a7417457574f56c /src/gpu/cl/kernels/gemm/reshaped | |
parent | ec0a057af6e6c5147f493a9c305f92c9db6ecaf8 (diff) | |
download | ComputeLibrary-306a8a9fb0dacd2c1e5d65f76420c12162203986.tar.gz |
Fix nightly bug caused by not validation 3d cases for input tensor
While writing this gemm kernel, code pieces, including validations were adapted from ClGemmMatrixMultiplyReshapedOnlyRhsKernel, and this validation should be about reinterpret_input_as_3d. This reveals a test gap for this kernel. There are currently no tests stressing this condition; but this is not going to be addressed as part of the bug ticket.
The corresponding snippet in ClGemmMatrixMultiplyReshapedOnlyRhsKernel is
if (gemm_info.reinterpret_input_as_3d)
{
ARM_COMPUTE_RETURN_ERROR_ON(src0->dimension(1) * src0->dimension(2) != m);
}
else
{
ARM_COMPUTE_RETURN_ERROR_ON(src0->dimension(1) != m);
}
Resolves: COMPMID-6757
Signed-off-by: Gunes Bayir <gunes.bayir@arm.com>
Change-Id: I4363effcaf2b43ff3674a3443058384338fb9714
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10891
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'src/gpu/cl/kernels/gemm/reshaped')
0 files changed, 0 insertions, 0 deletions