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 条
  • [31] Extending the NOEL-V Platform with a RISC-V Vector Processor for Space Applications
    Di Mascio, Stefano
    Menicucci, Alessandra
    Gill, Eberhard
    Monteleone, Claudio
    JOURNAL OF AEROSPACE INFORMATION SYSTEMS, 2023, 20 (09): : 565 - 574
  • [32] Spatzformer: An Efficient Reconfigurable Dual-Core RISC-V V Cluster for Mixed Scalar-Vector Workloads
    Perotti, Matteo
    Raeber, Michele
    Sinigaglia, Mattia
    Cavalcante, Matheus
    Rossi, Davide
    Benini, Luca
    2024 IEEE 35TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP 2024, 2024, : 172 - 173
  • [33] DVINO: A RISC-V Vector Processor Implemented in 65nm Technology
    Cabo, Guillem
    Candon, Gerard
    Carril, Xavier
    Doblas, Max
    Dominguez, Marc
    Gonzalez, Alberto
    Hernandez, Cesar
    Jimenez, Victor
    Kostalampros, Vatistas
    Langarita, Ruben
    Leyva, Neiel
    Lopez-Paradis, Guillem
    Mendoza, Jonnatan
    Minervini, Francesco
    Pavon, Julian
    Ramirez, Cristobal
    Rodas, Narcis
    Reggiani, Enrico
    Rodriguez, Mario
    Rojas, Carlos
    Ruiz, Abraham
    Soria, Victor
    Suanes, Alejandro
    Vargas, Ivan
    Figueras, Roger
    Fontova, Pau
    Marimon, Joan
    Montabes, Victor
    Cristal, Adrian
    Hernandez, Carles
    Martinez, Ricardo
    Moreto, Miquel
    Moll, Francesc
    Palomar, Oscar
    Ramirez, Marco A.
    Rubio, Antonio
    Sacristan, Jordi
    Serra-Graells, Francesc
    Sonmez, Nehir
    Teres, Lluis
    Unsal, Osman
    Valero, Mateo
    Villa, Luis
    PROCEEDINGS OF THE 37TH CONFERENCE ON DESIGN OF CIRCUITS AND INTEGRATED SYSTEMS (DCIS 2022), 2022, : 226 - 231
  • [34] Optimizing Structured-Sparse Matrix Multiplication in RISC-V Vector Processors
    Titopoulos, Vasileios
    Alexandridis, Kosmas
    Peltekis, Christodoulos
    Nicopoulos, Chrysostomos
    Dimitrakopoulos, Giorgos
    IEEE TRANSACTIONS ON COMPUTERS, 2025, 74 (04) : 1446 - 1460
  • [35] FlexBex: A RISC-V with a Reconfigurable Instruction Extension
    Nguyen Dao
    Attwood, Andrew
    Healy, Bea
    Koch, Dirk
    2020 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (ICFPT 2020), 2020, : 190 - 195
  • [36] Efficient Cryptography on the RISC-V Architecture
    Stoffelen, Ko
    PROGRESS IN CRYPTOLOGY - LATINCRYPT 2019, 2019, 11774 : 323 - 340
  • [37] Flexible Acceleration of Data Processing with RISC-V DSP, Vector and Custom Extensions
    Su, Charlie Hong-Men
    2021 INTERNATIONAL SYMPOSIUM ON VLSI DESIGN, AUTOMATION AND TEST (VLSI-DAT), 2021,
  • [38] Vitruvius plus : An Area-Efficient RISC-V Decoupled Vector Coprocessor for High Performance Computing Applications
    Minervini, Francesco
    Palomar, Oscar
    Unsal, Osman
    Reggiani, Enrico
    Quiroga, Josue
    Marimon, Joan
    Rojas, Carlos
    Figueras, Roger
    Ruiz, Abraham
    Gonzalez, Alberto
    Mendoza, Jonnatan
    Vargas, Ivan
    Hernandez, Cesar
    Cabre, Joan
    Khoirunisya, Lina
    Bouhali, Mustapha
    Pavon, Julian
    Moll, Francesc
    Olivieri, Mauro
    Kovac, Mario
    Kovac, Mate
    Dragic, Leon
    Valero, Mateo
    Cristal, Adrian
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2023, 20 (02)
  • [39] A High-Speed NTT-Based Polynomial Multiplication Accelerator with Vector Extension of RISC-V for Saber Algorithm
    Kuang, Honglin
    Zhao, Yifan
    Han, Jun
    2022 IEEE ASIA PACIFIC CONFERENCE ON CIRCUITS AND SYSTEMS, APCCAS, 2022, : 592 - 595
  • [40] Integration of a Real-Time CCSDS 410.0-B-32 Error-Correction Decoder on FPGA-Based RISC-V SoCs Using RISC-V Vector Extension
    Kuo, Yao-Ming
    Flanagan, Mark F.
    Garcia-Herrero, Francisco
    Ruano, Oscar
    Antonio Maestro, Juan
    IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS, 2023, 59 (05) : 5835 - 5846