All papersEfficient AI & Edge

To SIMD or Not to SIMD: Comparing RVV vs. CGRA SoCs for Non-Linear Functions in AI

/ Paper arXiv 2611.12435

Key numbers

7.12×…reaches a maximum speedup in clock cycles of 7.12x over RVV on the activation stage of…
9.8×…the RVV reaches a maximum speedup of \textbf{9.8x} over the CGRA on complex non-linear functions such…
3.16×Over the enclosing feed-forward block the corresponding maxima are 3.16x and 4.24x

From the paperCopied from the abstract, not written by AI.

Abstract

From the paperThe authors' own words.

Non-linear functions are an important class of operations in modern large language models. However, chip vendors building for AI have so far relied on traditional vector or scalar processing units for non-linear functions. The performance of these units has not kept pace with matrix multiplication units (MMUs), which can be found in both high-performance and edge-computing devices from almost every vendor. Reconfigurable units such as FPGAs and CGRAs have been proposed in the literature, but have not been systematically compared with traditional units backed by MMUs. In this paper, we build two SoCs: one using an RVV vector processor and the other using a latency-insensitive (\emph{elastic}) CGRA, both coupled with an MMU and driven by a single-core CPU. We then propose mappings for common feed-forward networks on our SoCs and find that the CGRA reaches a maximum speedup in clock cycles of 7.12x over RVV on the activation stage of simple point-wise non-linear functions like SiLU, whereas the RVV reaches a maximum speedup of \textbf{9.8x} over the CGRA on complex non-linear functions such as softmax. Over the enclosing feed-forward block the corresponding maxima are 3.16x and 4.24x.

From the full paper

From the paperCopied from the paper itself by our code.

Reading the paper on arXiv…

Ask this paper

/ Ask a questionAnswers come from the full paper and name the section

    / Your notes

    Select text in the abstract to highlight it or add a note. They stay in this browser.

      Read the PDF