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 条
  • [41] Poster: Marian: An Open Source RISC-V Processor with Zvk Vector Cryptography Extensions
    Szymkowiak, Thomas
    Isufi, Endrit
    Saarinen, Markku-Juhani
    PROCEEDINGS OF THE 2024 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, CCS 2024, 2024, : 4931 - 4933
  • [42] FAUST: Design and implementation of a pipelined RISC-V vector floating-point unit
    Kovac, Mate
    Dragic, Leon
    Malnar, Branimir
    Minervini, Francesco
    Palomar, Oscar
    Rojas, Carlos
    Olivieri, Mauro
    Knezovic, Josip
    Kovac, Mario
    MICROPROCESSORS AND MICROSYSTEMS, 2023, 97
  • [43] A RISC-V Extension to Minimize Privileges of Enclave Runtimes
    Kalani, Neelu S.
    Bugnion, Edouard
    PROCEEDINGS OF THE 2023 6TH WORKSHOP ON SYSTEM SOFTWARE FOR TRUSTED EXECUTION, SYSTEX 2023, 2023, : 4 - 9
  • [44] Task Mapping and Scheduling on RISC-V MIMD Processor With Vector Accelerator Using Model-Based Parallelization
    Wu, Shanwen
    Kumano, Satoshi
    Marume, Kei
    Edahiro, Masato
    IEEE ACCESS, 2024, 12 : 35779 - 35795
  • [45] muRISCV-NN: Challenging Zve32x Autovectorization with TinyML Inference Library for RISC-V Vector Extension
    van Kempen, Philipp
    Jones, Jefferson Parker
    Mueller-Gritschneder, Daniel
    Schlichtmann, Ulf
    PROCEEDINGS OF THE 21ST ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS 2024-WORKSHOPS AND SPECIAL SESSIONS, CF 2024 COMPANION, 2024, : 75 - 78
  • [46] Collective Communication for the RISC-V xBGAS ISA Extension
    Williams, Brody
    Wang, Xi
    Leidel, John D.
    Chen, Yong
    PROCEEDINGS OF THE 48TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPP 2019), 2019,
  • [47] GRS:A General RISC-V SIMD Vector Acceleration Processor for Artificial Intelligence Applications
    Wang, Zhou
    Du, Haochen
    Zhou, Jiuren
    Zhou, Yang
    Tang, Xiaonan
    Ye, Tianchun
    Wei, Shaojun
    Qiao, Shushan
    Yin, Shouyi
    2024 IEEE THE 20TH ASIA PACIFIC CONFERENCE ON CIRCUITS AND SYSTEMS, APCCAS 2024, 2024, : 702 - 706
  • [48] A Survey of the RISC-V Architecture Software Support
    Mezger, Benjamin W.
    Santos, Douglas A.
    Dilillo, Luigi
    Zeferino, Cesar A.
    Melo, Douglas R.
    IEEE ACCESS, 2022, 10 : 51394 - 51411
  • [49] Quark: An Integer RISC-V Vector Processor for Sub-Byte Quantized DNN Inference
    AskariHemmat, MohammadHossein
    Dupuis, Theo
    Fournier, Yoan
    El Zarif, Nizar
    Cavalcante, Matheus
    Perotti, Matteo
    Gurkaynak, Frank
    Benini, Luca
    Leduc-Primeau, Francois
    Savaria, Yvon
    David, Jean-Pierre
    2023 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, ISCAS, 2023,
  • [50] MX: Enhancing RISC-V's Vector ISA for Ultra-Low Overhead, Energy-Efficient Matrix Multiplication
    Perotti, Matteo
    Zhang, Yichao
    Cavalcante, Matheus
    Mustafa, Enis
    Benini, Luca
    2024 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2024,