Tiling Parameters - 2024.1 English - XD160

Vitis Libraries

Document ID
XD160
Release Date
2024-10-16
Version
2024.1 English

The parameters TP_ADD_TILING_A, TP_ADD_TILING_B, and TP_ADD_DETILING_OUT control the inclusion of an additional pre-processing/post-processing kernel to perform the required data storage reordering. When used with TP_DIM_A_LEADING, TP_DIM_B_LEADING, or TP_DIM_OUT_LEADING, the matrix is also transposed in the tiling kernel.

If the additional kernels are not selected, then the matrix multiply kernels assume incoming data is in the correct format, as specified above.

The tiling imposes a restriction that the matrix dimensions need to be multiples of the tile dimensions. If you require dimensions that do not satisfy these requirements, pad the matrices up to the closet multiple of the tile dimensions in table Matrix Multiply Tiling Pattern Combination for AIE or Matrix Multiply Tiling Pattern Combination for AIE-ML with zeroes for AIE and AIE-ML respectively.