21.08
|
GEMM RHS (Right Hand Side) matrix information. More...
#include <Types.h>
Public Member Functions | |
GEMMRHSMatrixInfo ()=default | |
GEMMRHSMatrixInfo (unsigned int n, unsigned int k, unsigned int h, bool trans, bool inter, bool export_to_cl_img) | |
Data Fields | |
unsigned int | n0 { 1 } |
Number of columns processed by the matrix multiplication. More... | |
unsigned int | k0 { 1 } |
Number of partial accumulations performed by the matrix multiplication. More... | |
unsigned int | h0 { 1 } |
Number of horizontal blocks of size (k0xn0) stored on the same output row. More... | |
bool | transpose { true } |
True if the (k0xn0) block has to be transposed before been stored. More... | |
bool | interleave { true } |
True if the h0 (k0xn0) blocks have to be interleaved in the output row. More... | |
bool | export_to_cl_image { false } |
True if the reshaped rhs has to be exported to cl_image. More... | |
|
default |
|
inline |
Definition at line 1922 of file Types.h.
bool export_to_cl_image { false } |
True if the reshaped rhs has to be exported to cl_image.
n0 must be equal to 4
Definition at line 1931 of file Types.h.
Referenced by ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::operator<<(), and arm_compute::opencl::kernels::gemm::validate_image2d_support_on_rhs().
unsigned int h0 { 1 } |
Number of horizontal blocks of size (k0xn0) stored on the same output row.
Definition at line 1928 of file Types.h.
Referenced by arm_compute::misc::shape_calculator::compute_rhs_reshaped_shape(), ClGemmLowpMatrixMultiplyReshapedKernel::configure(), ClGemmReshapeRhsMatrixKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), and arm_compute::operator<<().
bool interleave { true } |
True if the h0 (k0xn0) blocks have to be interleaved in the output row.
Definition at line 1930 of file Types.h.
Referenced by ClGemmLowpMatrixMultiplyReshapedKernel::configure(), ClGemmReshapeRhsMatrixKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), and arm_compute::operator<<().
unsigned int k0 { 1 } |
Number of partial accumulations performed by the matrix multiplication.
Definition at line 1927 of file Types.h.
Referenced by arm_compute::misc::shape_calculator::compute_rhs_reshaped_shape(), ClGemmLowpMatrixMultiplyNativeKernel::configure(), ClGemmMatrixMultiplyNativeKernel::configure(), ClGemmReshapeRhsMatrixKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), arm_compute::operator<<(), and arm_compute::opencl::kernels::gemm::validate_image2d_support_on_rhs().
unsigned int n0 { 1 } |
Number of columns processed by the matrix multiplication.
Definition at line 1926 of file Types.h.
Referenced by arm_compute::misc::shape_calculator::compute_rhs_reshaped_shape(), ClGemmLowpMatrixMultiplyNativeKernel::configure(), ClGemmMatrixMultiplyNativeKernel::configure(), ClGemmLowpMatrixMultiplyReshapedKernel::configure(), ClGemmReshapeRhsMatrixKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), arm_compute::operator<<(), and arm_compute::opencl::kernels::gemm::validate_image2d_support_on_rhs().
bool transpose { true } |
True if the (k0xn0) block has to be transposed before been stored.
Definition at line 1929 of file Types.h.
Referenced by ClGemmLowpMatrixMultiplyReshapedKernel::configure(), ClGemmReshapeRhsMatrixKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), and arm_compute::operator<<().