- Template parameters:
- RowsA : Number of rows in input matrix A
- ColsA : Number of columns in input matrix A
- PowUnroll : Power2 of RowsA Size
- PowFoldRow : Power2 of fold Rows Size
- NCU : Number of Compute Unit
- PowNCU : Power2 of compute unit(CU) number
- T : Input/output data type
- Arguments:
- dataA : Inout port, Matrix A as input and output matrix Q
- R_strm : Output port, Matrix R, non-zero numbers in the upper triangular matrix
Note
The function will fail to compile or synthesize if RowsA < ColsA. For multi-cu design, expand Row into 2 dimensions[NCU][RowsA / NCU], NCU is related to PowNCU.