template <typename t_DataType, unsigned int t_ParEntries> void gem2Stream(unsigned int p_m, unsigned int p_n, t_DataType* p_in, hls::stream<WideType<t_DataType, t_ParEntries>>& p_out)
The gem2Stream function that moves the row-major matrix from memory to stream.
Parameters:
t_DataType | The data type of the matrix entries. |
t_ParEntries | Number of parallelly processed entries in the matrix. |
p_m | Number of rows in a matrix. |
p_n | Number of cols in a matrix. |
p_in | A p_m x p_n matrix with on-chip row-major storage. |
p_out | Output stream. |