Matrix Multiply Configuration Parameters - 2024.2 English

Vitis Libraries

Release Date
2024-11-29
Version
2024.2 English

For the Matrix Multiply (GeMM) library element, use the following list of configurable parameters and default values.

Table 78 Matrix Multiply Configuration Parameters
Name Type Default Description
T_DATA_A typename cint16 Input A Data Type.
T_DATA_B typename cint16 Input B Data Type.
P_DIM_A unsigned 16 Input A Dimension.
P_DIM_AB unsigned 16 Input AB Common Dimension.
P_DIM_B unsigned 16 Input B Dimension.
SHIFT unsigned 20 See Common Configuration Parameters
ROUND_MODE unsigned 0 See Common Configuration Parameters
P_CASC_LEN unsigned 1 Cascade length.
P_DIM_A_LEADING unsigned 0

ROW_MAJOR = 0

COL_MAJOR = 1

P_DIM_B_LEADING unsigned 1

ROW_MAJOR = 0

COL_MAJOR = 1

P_DIM_OUT_LEADING unsigned 0

ROW_MAJOR = 0

COL_MAJOR = 1

P_ADD_TILING_A unsigned 1

no additional tiling kernel = 0

add additional tiling kernel = 1

P_ADD_TILING_B unsigned 1

no additional tiling kernel = 0

add additional tiling kernel = 1

P_ADD_DETILING_OUT unsigned 1

no additional detiling kernel = 0

add additional detiling kernel = 1

NITER unsigned 16 See Common Configuration Parameters
DIFF_TOLERANCE unsigned 0 See Common Configuration Parameters
STIM_TYPE_A unsigned 0 See STIM_TYPE in Common Configuration Parameters
STIM_TYPE_B unsigned 0 See STIM_TYPE in Common Configuration Parameters
SAT_MODE unsigned 1 See Common Configuration Parameters

Note

The above configurable parameters range might exceed a library element’s maximum supported range, in which case, the compilation will end with a static_assert error informing about the exceeded range.