A BLIS-like matrix multiplication for machine learning in the RISC-V ISA-based GAP8 processor

Cristián Ramírez, Adrián Castelló, Enrique S. Quintana–Ort́ı · The Journal of Supercomputing · 2022

Abstract We address the efficient realization of matrix multiplication (gemm), with application in the convolution operator for machine learning, for the RISC-V core present in the GreenWaves GAP8 processor. Our approach leverages BLIS (Basic Linear Algebra Instantiation Software) to develop an implementation that (1) re-organizes the gemm algorithm adapting its micro-kernel to exploit the hardware-supported dot product kernel in the GAP8; (2) explicitly orchestrates the data transfers across the hierarchy of scratchpad memories via DMA (direct memory access); and (3) operates with integer arithmetic.

Read the paper · More papers on PaperTik