arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.00900cs.ARcs.DCcs.PF
收藏

基于实内存处理系统的高效稀疏矩阵向量乘法

Towards Efficient Sparse Matrix Vector Multiplication on Real Processing-In-Memory Systems

Christina Giannoula, Ivan Fernandez, Juan Gómez-Luna, Nectarios Koziris, Georgios Goumas, Onur Mutlu

摘要:

一些制造商已经开始将近银行内存处理(PIM)架构商业化。近库PIM架构将简单的内核放置在DRAM库附近,通过降低数据访问成本,可以在并行应用中显著提高性能和能耗。真正的PIM系统可以提供高水平的并行性、大的聚合内存带宽和低的内存访问延迟,从而很好地适合于加速广泛使用的、内存受限的稀疏矩阵向量乘法(SpMV)内核。本文提供了第一个全面的分析,SpMV在现实世界的PIM架构,并提出了SparseP,第一个SpMV库真正的PIM架构。我们做出了两个重要贡献。首先,我们设计了高效的SpMV算法,以加速当前和未来的PIM系统中的SpMV内核,同时覆盖各种稀疏矩阵与不同的稀疏模式。其次,我们提供了第一个全面的分析SpMV上一个真正的PIM架构。具体来说,我们进行严格的实验分析SPMV内核的UPMEM PIM系统,第一个公开的真实世界的PIM架构。我们广泛的评估为软件设计人员和硬件架构师提供了新的见解和建议,以有效地加速实际PIM系统上的SpMV内核。有关我们对SpMV PIM执行、结果、见解和开源SparseP软件包[26]的全面表征的更多信息,我们请读者参阅论文的完整版本[3,4]。SparseP软件包可在www.example.com上公开免费获得。

英文摘要:

Several manufacturers have already started to commercialize near-bank Processing-In-Memory (PIM) architectures. Near-bank PIM architectures place simple cores close to DRAM banks and can yield significant performance and energy improvements in parallel applications by alleviating data access costs. Real PIM systems can provide high levels of parallelism, large aggregate memory bandwidth and low memory access latency, thereby being a good fit to accelerate the widely-used, memory-bound Sparse Matrix Vector Multiplication (SpMV) kernel. This paper provides the first comprehensive analysis of SpMV on a real-world PIM architecture, and presents SparseP, the first SpMV library for real PIM architectures. We make two key contributions. First, we design efficient SpMV algorithms to accelerate the SpMV kernel in current and future PIM systems, while covering a wide variety of sparse matrices with diverse sparsity patterns. Second, we provide the first comprehensive analysis of SpMV on a real PIM architecture. Specifically, we conduct our rigorous experimental analysis of SpMV kernels in the UPMEM PIM system, the first publicly-available real-world PIM architecture. Our extensive evaluation provides new insights and recommendations for software designers and hardware architects to efficiently accelerate the SpMV kernel on real PIM systems. For more information about our thorough characterization on the SpMV PIM execution, results, insights and the open-source SparseP software package [26], we refer the reader to the full version of the paper [3, 4]. The SparseP software package is publicly and freely available at https://github.com/CMU-SAFARI/SparseP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑