diff options
author | SiCong Li <sicong.li@arm.com> | 2023-01-09 15:34:20 +0000 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2023-01-18 16:44:11 +0000 |
commit | 1b6377b603c5833e52d704dc17db14f446ebc670 (patch) | |
tree | cd4b03c6cc8aefe27b6b5f5fe87c559b26367d2d /src/gpu/cl | |
parent | a68df8dd8befdb53ec03412cf88113c13aa47c09 (diff) | |
download | ComputeLibrary-1b6377b603c5833e52d704dc17db14f446ebc670.tar.gz |
Add broadcast batched matmul validation cases
Related to: COMPMID-5660
Signed-off-by: SiCong Li <sicong.li@arm.com>
Change-Id: I2314c8b21acc638402c77080d59db2f3fed58fe2
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8911
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Reviewed-by: Mohmun02 <MohammedSuhail.Munshi@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/gpu/cl')
-rw-r--r-- | src/gpu/cl/operators/ClGemm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/cl/operators/ClGemm.h b/src/gpu/cl/operators/ClGemm.h index aac463f0b8..ea8a058fd5 100644 --- a/src/gpu/cl/operators/ClGemm.h +++ b/src/gpu/cl/operators/ClGemm.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Arm Limited. + * Copyright (c) 2016-2023 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -75,6 +75,9 @@ public: * * @note Whilst the first input tensor can be a vector, the second input tensor must be at least a matrix * + * @note Batched GEMM only allows RHS tensor's rank to be <= 3 + * @note Batched GEMM only supports broadcasting cases where RHS rank < LHS rank but not the other way around + * * @param[in] compile_context The compile context to be used. * @param[in] a First input tensor (Matrix or Vector A). Data types supported: F16/F32 * @param[in] b Second input tensor (Matrix B). Data type supported: same as @p a. |