检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王宇华[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[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.170