Compute Library
 21.02
GEMMRHSMatrixInfo Struct Reference

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...
 

Detailed Description

GEMM RHS (Right Hand Side) matrix information.

Definition at line 1983 of file Types.h.

Constructor & Destructor Documentation

◆ GEMMRHSMatrixInfo() [1/2]

GEMMRHSMatrixInfo ( )
default

◆ GEMMRHSMatrixInfo() [2/2]

GEMMRHSMatrixInfo ( unsigned int  n,
unsigned int  k,
unsigned int  h,
bool  trans,
bool  inter,
bool  export_to_cl_img 
)
inline

Definition at line 1986 of file Types.h.

1987  : n0(n), k0(k), h0(h), transpose(trans), interleave(inter), export_to_cl_image(export_to_cl_img)
1988  {
1989  }
unsigned int h0
Number of horizontal blocks of size (k0xn0) stored on the same output row.
Definition: Types.h:1992
bool transpose
True if the (k0xn0) block has to be transposed before been stored.
Definition: Types.h:1993
bool export_to_cl_image
True if the reshaped rhs has to be exported to cl_image.
Definition: Types.h:1995
unsigned int k0
Number of partial accumulations performed by the matrix multiplication.
Definition: Types.h:1991
unsigned int n0
Number of columns processed by the matrix multiplication.
Definition: Types.h:1990
bool interleave
True if the h0 (k0xn0) blocks have to be interleaved in the output row.
Definition: Types.h:1994

Field Documentation

◆ export_to_cl_image

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 1995 of file Types.h.

Referenced by arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::operator<<(), and arm_compute::cl_gemm::validate_image2d_support_on_rhs().

◆ h0

◆ interleave

bool interleave { true }

True if the h0 (k0xn0) blocks have to be interleaved in the output row.

Definition at line 1994 of file Types.h.

Referenced by CLGEMMReshapeRHSMatrixKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), and arm_compute::operator<<().

◆ k0

◆ n0

◆ transpose

bool transpose { true }

The documentation for this struct was generated from the following file: