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)
gem2Stream function that moves 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 |