Spatz: A Compact Vector Processing Unit for High-Performance and Energy-Efficient Shared-L1 Clusters

Matheus Cavalcante, Domenic Wüthrich, Matteo Perotti, Samuel Riedel, Luca Benini
7/16/2022
cs.AR

Official code: pulp-platform/mempool (335 stars, C, Apache-2.0, last commit 2026-11-20).

Abstract

While parallel architectures based on clusters of Processing Elements (PEs) sharing L1 memory are widespread, there is no consensus on how lean their PE should be. Architecting PEs as vector processors holds the promise to greatly reduce their instruction fetch bandwidth, mitigating the Von Neumann Bottleneck (VNB).

Show full abstract

However, due to their historical association with supercomputers, classical vector machines include micro-architectural tricks to improve the Instruction Level Parallelism (ILP), which increases their instruction fetch and decode energy overhead. In this paper, we explore for the first time vector processing as an option to build small and efficient PEs for large-scale shared-L1 clusters. We propose Spatz, a compact, modular 32-bit vector processing unit based on the integer embedded subset of the RISC-V Vector Extension version 1.0. A Spatz-based cluster with four Multiply-Accumulate Units (MACUs) needs only 7.9 pJ per 32-bit integer multiply-accumulate operation, 40% less energy than an equivalent cluster built with four Snitch scalar cores. We analyzed Spatz' performance by integrating it within MemPool, a large-scale many-core shared-L1 cluster. The Spatz-based MemPool system achieves up to 285 GOPS when running a 256x256 32-bit integer matrix multiplication, 70% more than the equivalent Snitch-based MemPool system. In terms of energy efficiency, the Spatz-based MemPool system achieves up to 266 GOPS/W when running the same kernel, more than twice the energy efficiency of the Snitch-based MemPool system, which reaches 128 GOPS/W. Those results show the viability of lean vector processors as high-performance and energy-efficient PEs for large-scale clusters with tightly-coupled L1 memory.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A scalable 256/1024-RISC-V-core system with low-latency access into shared L1 memory.

33563C, SystemVerilogNov 21, 20191 weeks agoApache-2.0
asicmanycorerisc-v

Similar Papers

Cite this paper

@article{cavalcante2022spatz,
  title  = {Spatz: A Compact Vector Processing Unit for High-Performance and Energy-Efficient Shared-L1 Clusters},
  author = {Matheus Cavalcante and Domenic Wüthrich and Matteo Perotti and Samuel Riedel and Luca Benini},
  year   = {2022},
  eprint = {2207.07970},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.07970}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.07970.svg)](https://codeofpaper.com/paper/2207.07970)

Discussion