JOURNAL ARTICLE

Efficient Support of the Scan Vector Model for RISC-V Vector Extension

Abstract

RISC-V vector extension (RVV) provides wide vector registers, which is applicable for workloads with high data-level parallelism such as machine learning or cloud computing. However, it is not easy for developers to fully utilize the underlying performance of a new architecture. Hence, abstractions such as primitives or software frameworks could be employed to ease this burden. Scan, also known as all-prefix-sum, is a common building block for many parallel algorithms. Blelloch presented an algorithmic model called the scan vector model, which uses scan operations as primitives, and demonstrates that a broad range of applications and algorithms can be implemented by them. In our work, we present an efficient support of the scan vector model for RVV. With this support, parallel algorithms can be developed upon those primitives without knowing the details of RVV while gaining the performance that RVV provides. In addition, we provide an optimization scheme related to the length multiplier feature of RVV, which can further improve the utilization of the vector register files. The experiment shows that our support of scan and segmented scan for RVV can achieve 2.85x and 4.29x speedup, respectively, compared to the sequential implementation. With further optimization using the length multiplier of RVV, we can improve the previous result to 21.93x and 15.09x speedup.

Keywords:
Computer science Speedup Parallel computing Algorithm Theoretical computer science

Metrics

8
Cited By
1.78
FWCI (Field Weighted Citation Impact)
2
Refs
0.85
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Parallel Computing and Optimization Techniques
Physical Sciences →  Computer Science →  Hardware and Architecture
Advanced Data Storage Technologies
Physical Sciences →  Computer Science →  Computer Networks and Communications
Distributed and Parallel Computing Systems
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

A Pluggable Vector Unit for RISC-V Vector Extension

Vincenzo MaistoAlessandro Cilardo

Journal:   2022 Design, Automation & Test in Europe Conference & Exhibition (DATE) Year: 2022 Pages: 1143-1148
JOURNAL ARTICLE

Communications Signal Processing Using RISC-V Vector Extension

Viktor RazilovEmil MatúšGerhard Fettweis

Journal:   2022 International Wireless Communications and Mobile Computing (IWCMC) Year: 2022 Pages: 690-695
© 2026 ScienceGate Book Chapters — All rights reserved.