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

被引:4
|
作者
Lai, Hung-Ming [1 ]
Lee, Jenq-Kuen [1 ]
机构
[1] Natl Tsing Hua Univ, Dept Comp Sci, Hsinchu, Taiwan
关键词
RISC-V vector extension; SIMD; scan;
D O I
10.1145/3547276.3548518
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] A Pluggable Vector Unit for RISC-V Vector Extension
    Maisto, Vincenzo
    Cilardo, Alessandro
    PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 1143 - 1148
  • [2] Vectorized Nonlinear Functions with the RISC-V Vector Extension
    Bavier, Eric
    Knight, Nicholas
    Saint-Genies, Hugues De lassus
    Love, Eric
    2023 IEEE 30TH SYMPOSIUM ON COMPUTER ARITHMETIC, ARITH 2023, 2023, : 127 - 130
  • [3] Functional Validation of the RISC-V Unlimited Vector Extension
    Fernandes, Ana
    Crespo, Luis
    Neves, Nuno
    Tomas, Pedro
    Roma, Nuno
    Falcao, Gabriel
    IEEE EMBEDDED SYSTEMS LETTERS, 2025, 17 (01) : 2 - 5
  • [4] Communications Signal Processing Using RISC-V Vector Extension
    Razilov, Viktor
    Matus, Emil
    Fettweis, Gerhard
    2022 INTERNATIONAL WIRELESS COMMUNICATIONS AND MOBILE COMPUTING, IWCMC, 2022, : 690 - 695
  • [5] Enhancing RISC-V Vector Extension for Efficient Application of Post-quantum Cryptography
    Zhao, Yifan
    Kuang, Honglin
    Sun, Yi
    Yang, Zhen
    Chen, Chen
    Meng, Jianyi
    Han, Jun
    2023 IEEE 34TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP, 2023, : 10 - 17
  • [6] Resource-efficient RISC-V Vector Extension Architecture for FPGA-based Accelerators
    Islam, Md Ashraful
    Kise, Kenji
    THE PROCEEDINGS OF THE 13TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES, HEART 2023, 2023, : 78 - 85
  • [7] RISC-V2: A Scalable RISC-V Vector Processor
    Patsidis, Kariofyllis
    Nicopoulos, Chrysostomos
    Sirakoulis, Georgios Ch
    Dimitrakopoulos, Giorgos
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [8] Variable Bit-Precision Vector Extension for RISC-V Based Processors
    Risikesh, R. K.
    Sinha, Sharad
    Rao, Nanditha
    2021 IEEE 14TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC 2021), 2021, : 114 - 121
  • [9] Optimised AES with RISC-V Vector Extensions
    Rizi, Mahnaz Namazi
    Zidaric, Nusa
    Batina, Lejla
    Mentens, Nele
    2024 27TH INTERNATIONAL SYMPOSIUM ON DESIGN & DIAGNOSTICS OF ELECTRONIC CIRCUITS & SYSTEMS, DDECS, 2024, : 57 - 60
  • [10] Functional Verification of a RISC-V Vector Accelerator
    Jimenez, Victor
    Rodriguez, Mario
    Dominguez, Marc
    Sans, Josep
    Diaz, Ivan
    Valente, Luca
    Guglielmi, Vito Luca
    Quiroga, Josue V. V.
    Genovese, R. Ignacio
    Sonmez, Nehir
    Palomar, Oscar
    Moreto, Miquel
    IEEE DESIGN & TEST, 2023, 40 (03) : 36 - 44