首页 | 本学科首页   官方微博 | 高级检索  
     

基于RISC-V向量指令的稀疏矩阵向量乘法实现与优化
引用本文:顾越,赵银亮.基于RISC-V向量指令的稀疏矩阵向量乘法实现与优化[J].计算机工程与科学,2022,44(1):1-8.
作者姓名:顾越  赵银亮
作者单位:(西安交通大学计算机学院,陕西 西安 710049)
基金项目:广东省重点领域研发计划(2019B090916003)。
摘    要:开源指令集架构RISC-V具有高性能、模块化、简易性和易拓展等优势,在物联网、云计算等领域的应用日渐广泛,其向量拓展部分V模块更是很好地支持了矩阵数值计算.稀疏矩阵向量乘法SpM V作为矩阵数值计算的一个重要组成部分,具有深刻的研究意义与价值.利用RISC-V指令集的向量可配置性和寻址特性,分别对基于CSR、ELLPA...

关 键 词:RISC-V  向量拓展  稀疏矩阵  SpMV
收稿时间:2020-03-23
修稿时间:2021-08-24

Implementation and optimization of sparse matrix vector multiplication based on RISC-V vector instruction
GU Yue,ZHAO Yin-liang.Implementation and optimization of sparse matrix vector multiplication based on RISC-V vector instruction[J].Computer Engineering & Science,2022,44(1):1-8.
Authors:GU Yue  ZHAO Yin-liang
Affiliation:(School of Computer,Xi’an Jiaotong University,Xi’an 710049,China) 
Abstract:Open source instruction set architecture RISC-V has the advantages of high performance,modularization,simplicity,easy extension,etc.,and is widely used in the Internet of Things,cloud computing and other fields.The V module of its vector expansion part supports matrix numerical calculation well.As an important part of matrix numerical calculation,sparse matrix vector multiplication(SpMV)has profound research significance and value.Using the vector configurability and addressing characteristics of RISC-V instruction set,vector multiplication of sparse matrix based on CSR,ELLPACK and HYB compressed format is vectorized respectively.Meanwhile,considering that the sparse matrix is extremely sparse and the number of non-zero elements in each row fluctuates greatly,the HYB storage format is improved by compressing the storage of row vectors with low density of non-zero elements and adjusting the HYB segmentation threshold,which significantly improves the computational efficiency and storage efficiency.
Keywords:RISC-V  vector expansion  sparse matrix  SpMV
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号