arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.04796cs.DCcs.MS
收藏

DBCSR:分布式GPU加速系统上的稠密矩阵乘法库

DBCSR: A Library for Dense Matrix Multiplications on Distributed GPU-Accelerated Systems

Ilia Sivkov, Alfio Lazzaro, Juerg Hutter

摘要:

大多数,如果不是所有的现代科学模拟软件包利用矩阵代数运算。在线性代数的运算中,最重要的核心之一就是矩阵的乘法运算,无论是稠密矩阵还是稀疏矩阵。这样的内核的应用示例是在电子结构计算、机器学习、数据采掘、图形处理和数字信号处理中。有几个优化的库可以在分布式系统上实现高性能。其中只有少数针对分布式GPU加速系统。在大多数情况下,这些库由系统供应商针对其特定计算机系统提供和优化。在本文中,我们提出了DBCSR库(分布式块压缩稀疏行)的分布式密集矩阵矩阵乘法。尽管该库是专门为块稀疏矩阵-矩阵乘法设计的,但我们针对GPU加速系统上的密集情况进行了优化。我们表明,DBCSR优于由供应商优化的GPU版本的ScaLAPACK库提供的不同大小和形状的矩阵的乘法高达2.5倍(平均1.4倍)。

英文摘要:

Most, if not all the modern scientific simulation packages utilize matrix algebra operations. Among the operation of the linear algebra, one of the most important kernels is the multiplication of matrices, dense and sparse. Examples of application of such a kernel are in electronic structure calculations, machine learning, data mining, graph processing, and digital signal processing. Several optimized libraries exist that can achieve high-performance on distributed systems. Only a few of them target distributed GPU-accelerated systems. In most of the cases, these libraries are provided and optimized by system vendors for their specific computer systems. In this paper, we present the DBCSR library (Distributed Block Compressed Sparse Row) for the distributed dense matrix-matrix multiplications. Although the library is specifically designed for block-sparse matrix-matrix multiplications, we optimized it for the dense case on GPU-accelerated systems. We show that the DBCSR outperforms the multiplication of matrices of different sizes and shapes provided by a vendor optimized GPU version of the ScaLAPACK library up to 2.5x (1.4x on average).

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

↑