From 3b0a2654034714c16f5930d2b24936d8be7b18a6 Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Fri, 7 Dec 2018 11:18:09 +0000 Subject: COMPMID-1775: Implement CLGEMMReshapeRHSMatrixKernel to reshape the RHS matrix of GEMM/GEMMLowp Change-Id: I77f2bfcc5d170bcc2428a2f27104942c1ec877d7 Reviewed-on: https://review.mlplatform.org/375 Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- arm_compute/core/Types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arm_compute/core/Types.h') diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 55b0ccb30d..6ef9878a95 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -1781,6 +1781,16 @@ struct GEMMLHSMatrixInfo bool interleave{ true }; /**< True if the v0 (m0xk0) blocks have to be interleaved in the output row */ }; +/** GEMM RHS (Right Hand Side) matrix information */ +struct GEMMRHSMatrixInfo +{ + unsigned int n0{ 1 }; /**< Number of columns processed by the matrix multiplication */ + unsigned int k0{ 1 }; /**< Number of partial accumulations performed by the matrix multiplication */ + unsigned int h0{ 1 }; /**< Number of horizontal blocks of size (k0xn0) stored on the same output row */ + bool transpose{ true }; /**< True if the (k0xn0) block has to be transposed before been stored */ + bool interleave{ true }; /**< True if the h0 (k0xn0) blocks have to be interleaved in the output row */ +}; + /** GEMM information class. This class stores the necessary information to compute GEMM functions * * This object also contains the information about how matrix A and matrix B have been reshaped -- cgit v1.2.1