matrixBlockMultiply - 2025.2 English

Vitis Libraries

Release Date
2025-12-17
Version
2025.2 English
#include "matrixMultiply_cfloat.hpp"
template <
    int RowsA,
    int ColsA,
    int RowsB,
    int ColsB,
    int RowsC,
    int ColsC,
    int TILE_SIZE,
    int BLK,
    typename InputType,
    typename OutputType
    >
void matrixBlockMultiply (
    hls::stream <InputType>& matrixAStrm,
    hls::stream <InputType>& matrixBStrm,
    hls::stream <OutputType>& matrixCStrm
    )

matrixBlockMultiply entry point function.

Parameters:

RowsA Defines the matrixA rows number
ColsA Defines the matrixA columns number
RowsB Defines the matrixB rows number
ColsB Defines the matrixB column number
RowsC Defines the matrixC rows number
ColsC Defines the matrixC columns number
TILE_SIZE Defines the block dimensition in the block matrix multiplication algorithm
BLK Defines the number of rows when loading matrix into memory.
InputType Input data type
OutputType Output data type
matrixAStrm Stream of First input matrix
matrixBStrm Stream of Second input matrix
matrixCStrm Stream of AB product output matrix