RISC-V allows for building general-purpose computing platforms with programmable accelerators around a single open-source ISA. However, leveraging heterogeneous SoCs within high-level applications is a tedious task. In this preliminary work, we modify the OpenBLAS library to offload selected linear kernels to a programmable manycore accelerator (PMCA) using OpenMP. By linking the Python package Numpy against this library, we enable acceleration of high-level applications. We target an open-source heterogeneous System-on-Chip with a rv64g Linux capable host and a rv32imafd PMCA. Using this platform emulated on FPGA, and the presented software stack, we can accelerate Phyton applications with linear algebra operators like matrix multiplication.
@article{arxiv.2504.03677,
title = {Work-In-Progress: Accelerating Numpy With OpenBLAS For Open-Source RISC-V Chips},
author = {Cyril Koenig and Enrico Zelioli and Frank K. Gürkaynak and Luca Benini},
journal= {arXiv preprint arXiv:2504.03677},
year = {2025}
}
Comments
submitted to the RISC-V Summit Europe 2025 for possible publication