DRM:基于迭代归并策略的GPU并行SpMV存储格式  

DRM:A GPU-parallel SpMV storage format based on iterative merge strategy

在线阅读下载全文

作  者:王宇华[1,2] 何俊飞 张宇琪 徐悦竹 崔环宇 WANG Yu-hua;HE Jun-fei;ZHANG Yu-qi;XU Yue-zhu;CUI Huan-yu(College of Computer Science and Technology,Harbin Engineering University,Harbin 150001;Modeling and Emulation in E-Government National Engineering Laboratory,Harbin 150001,China)

机构地区:[1]哈尔滨工程大学计算机科学与技术学院,黑龙江哈尔滨150001 [2]电子政务建模仿真国家工程实验室,黑龙江哈尔滨150001

出  处:《计算机工程与科学》2024年第3期381-394,共14页Computer Engineering & Science

基  金:国家自然科学基金(62072135)。

摘  要:稀疏矩阵向量乘(SpMV)在线性系统的求解问题中具有重要意义,是科学计算和工程实践中的核心问题之一,其性能高度依赖于稀疏矩阵的非零分布。稀疏对角矩阵是一类特殊的稀疏矩阵,其非零元素按照对角线的形式密集排列。针对稀疏对角矩阵,在GPU平台上提出的多种存储格式虽然使SpMV性能有所提升,但仍存在零填充和负载不平衡的问题。针对上述问题,提出了一种DRM存储格式,利用基于固定阈值的矩阵划分策略和基于迭代归并的矩阵重构策略,实现了少量零填充和块间负载平衡。实验结果表明,在NVIDIA■ Tesla■ V100平台上,相比于DIA、HDC、HDIA和DIA-Adaptive格式,在时间性能方面,该存储格式分别取得了20.76,1.94,1.13和2.26倍加速;在浮点计算性能方面,分别提高了1.54,5.28,1.13和1.94倍。Sparse matrix vector multiplication(SpMV)is of great significance in the solution of linear systems,and is one of the core problems in scientific computing and engineering practice.Its performance highly depends on the non-zero distribution of sparse matrices.Sparse diagonal matrices are a special type of sparse matrices,whose non-zero elements are densely arranged in the form of diagonals.For sparse diagonal matrices,scholars have proposed various storage formats on the GPU platform,which have improved SpMV performance,but still suffer from zero padding and load imbalance issues.To address these issues,a DRM(Divide-Rearrange&Merge)storage format is proposed.This format uses matrix partitioning strategies based on fixed threshold values and matrix reconstruction strategies based on iterative merging to achieve sparse zero padding and load balancing between blocks.Experimental results show that on the NVIDIA Tesla V100 platform,compared to DIA,HDC,HDIA,and DIA-Adaptive formats,the time performance is accelerated by 20.76,1.94,1.13,and 2.26 times,respectively,and the floating point performance is improved by 1.54,5.28,1.13,and 1.94 times,respectively.

关 键 词:GPU SpMV 稀疏对角矩阵 零填充 负载平衡 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象