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


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.

Año de publicación:

2022

Keywords:

  • Matrix multiplication
  • high performance
  • RISC-V GAP8

Fuente:

scopusscopus

Tipo de documento:

Article

Estado:

Acceso abierto

Áreas de conocimiento:

  • Arquitectura de computadoras
  • Ciencias de la computación

Áreas temáticas:

  • Ciencias de la computación
  • Física aplicada
  • Instrumentos de precisión y otros dispositivos