A BLIS-like matrix multiplication for machine learning in the RISC-V ISA-based GAP8 processor
Authors:
- Cristian RamírezCRCristian Ramírez
- Adrián CastellóACAdrián Castelló
- Enrique S. Quintana-OrtíEQEnrique S. Quintana-Ortí
Open Access
- 28 May 2022
- journal article
- research article
- Published by Springer Nature in The Journal of Supercomputing
- Vol. 78 (16) , 18051-18060
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.Keywords
Funding Information
- Ministerio de Ciencia, Innovación y Universidades (PID2020-113656RB-C22)
- Generalitat Valenciana (Santiago Grisolia)
- Ministerio de Ciencia, Innovacióón y Universidades (FJC2019- 039222-I)
This publication has 14 references indexed in Scilit:
- Anatomy of High-Performance Deep Learning Convolutions on SIMD Architectures2018
- GAP-8: A RISC-V SoC for AI at the Edge of the IoT2018
- Applied Machine Learning at Facebook: A Datacenter Infrastructure Perspective2018
- Efficient Processing of Deep Neural Networks: A Tutorial and SurveyProceedings of the IEEE, 2017
- Analytical Modeling Is Enough for High-Performance BLISACM Transactions on Mathematical Software, 2016
- Fast Algorithms for Convolutional Neural Networks2016
- A Survey of Fog Computing2015
- BLIS: A Framework for Rapidly Instantiating BLAS FunctionalityACM Transactions on Mathematical Software, 2015
- Level-3 BLAS on the TI C6678 Multi-core DSP2012
- A Family of High-Performance Matrix Multiplication Algorithms2006