SUperman: 在GPU上高效计算永久性
SUperman: Efficient Permanent Computation on GPUs
AI总结:
SUperman利用GPU高效计算矩阵永久性,实现比传统CPU快86倍的性能,并在192个GPU上完成62×62矩阵的永久性计算。
摘要:
永久性是一个定义于正方形矩阵的函数,应用于量子计算、统计物理、复杂性理论、组合数学和图论等多个领域。其公式与行列式相似;然而,与行列式不同,其精确计算是#P完全的,即除非P=NP,否则没有多项式时间算法来计算永久性。对于一个n×n矩阵,最快算法的时间复杂度为O(2^{n-1}n)。尽管超级计算机曾被用于永久性计算,但之前没有工作,更重要的是没有利用最新高性能计算加速器如GPU的公开软件。在本工作中,我们设计、开发并研究了SUperman,这是一个完整的软件套件,可以在集群的多个节点/GPU上计算矩阵的永久性,同时处理各种矩阵类型,如实数/复数/二进制和稀疏/密集等,并为每种类型提供独特的处理方法。SUperman在单个Nvidia A100 GPU上运行的速度比在44个Intel Xeon核心上运行的最先进并行算法快86倍。利用192个GPU,SUperman在1.63天内计算了一个62×62矩阵的永久性,标志着迄今为止报告的最大永久性计算。
英文摘要:
The permanent is a function, defined for a square matrix, with applications in various domains including quantum computing, statistical physics, complexity theory, combinatorics, and graph theory. Its formula is similar to that of the determinant; however, unlike the determinant, its exact computation is #P-complete, i.e., there is no algorithm to compute the permanent in polynomial time unless P=NP. For an $n \times n$ matrix, the fastest algorithm has a time complexity of $O(2^{n-1}n)$. Although supercomputers have been employed for permanent computation before, there is no work and, more importantly, no publicly available software that leverages cutting-edge High-Performance Computing accelerators such as GPUs. In this work, we design, develop, and investigate the performance of SUperman, a complete software suite that can compute matrix permanents on multiple nodes/GPUs on a cluster while handling various matrix types, e.g., real/complex/binary and sparse/dense, etc., with a unique treatment for each type. SUperman run on a single Nvidia A100 GPU is up to $86\times$ faster than a state-of-the-art parallel algorithm on 44 Intel Xeon cores running at 2.10GHz. Leveraging 192 GPUs, SUperman computes the permanent of a $62 \times 62$ matrix in 1.63 days, marking the largest reported permanent computation to date.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。