arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.07552cs.DC
收藏

MSREP:一个快速而轻便的多GPU稀疏矩阵框架

MSREP: A Fast yet Light Sparse Matrix Framework for Multi-GPU Systems

Jieyang Chen, Chenhao Xie, Jesun S Firoz, Jiajia Li, Shuaiwen Leon Song, Kevin Barker, Mark Raugas, Ang Li

摘要:

稀疏线性代数内核在许多应用中发挥着关键作用,涵盖了从exascale科学模拟到大规模数据分析。在这些应用程序中,将线性代数内核卸载到一个GPU上将不再可行,因为快速增长的数据量可能会超过单个GPU的内存容量和计算能力。目前,多GPU系统在超级计算机和数据中心中无处不在,在扩展大型稀疏线性代数内核方面具有巨大的潜力。在这项工作中,我们设计了一个新的稀疏矩阵表示框架的多GPU系统称为MSREP,规模稀疏线性代数运算的基础上,我们的增强稀疏矩阵格式的平衡模式。与密集运算不同,稀疏性显著加剧了以平衡方式在多个GPU之间分配计算工作量的难度。我们增强了三种主流的稀疏数据格式-- CSR、CSC和COO,以实现细粒度的数据分发。我们以稀疏矩阵向量乘法(SpMV)为例,以证明我们的MSREP框架的效率。此外,MSREP可以容易地扩展以支持基于三种基本格式的其他稀疏线性代数内核(即,CSR、CSC和COO)。

英文摘要:

Sparse linear algebra kernels play a critical role in numerous applications, covering from exascale scientific simulation to large-scale data analytics. Offloading linear algebra kernels on one GPU will no longer be viable in these applications, simply because the rapidly growing data volume may exceed the memory capacity and computing power of a single GPU. Multi-GPU systems nowadays being ubiquitous in supercomputers and data-centers present great potentials in scaling up large sparse linear algebra kernels. In this work, we design a novel sparse matrix representation framework for multi-GPU systems called MSREP, to scale sparse linear algebra operations based on our augmented sparse matrix formats in a balanced pattern. Different from dense operations, sparsity significantly intensifies the difficulty of distributing the computation workload among multiple GPUs in a balanced manner. We enhance three mainstream sparse data formats -- CSR, CSC, and COO, to enable fine-grained data distribution. We take sparse matrix-vector multiplication (SpMV) as an example to demonstrate the efficiency of our MSREP framework. In addition, MSREP can be easily extended to support other sparse linear algebra kernels based on the three fundamental formats (i.e., CSR, CSC and COO).

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

↑