H2Opus:面向非本地操作员的分布式内存多GPU软件包
H2Opus: A distributed-memory multi-GPU software package for non-local operators
摘要:
分层$\mathcal{H}^2$ -矩阵是非局部算子离散化的渐近最优表示,例如积分方程或核函数中的非局部算子。它们的$O(N)$在内存和操作应用程序方面的复杂性使它们特别适合于大规模问题。因此,有必要为这些矩阵上的分布式操作提供支持的软件,以允许大规模的问题被表示。在本文中,我们提出了高性能,分布式内存GPU加速算法和实现矩阵向量乘法和矩阵再压缩的分层矩阵的$\mathcal{H}^2$格式。这些算法是H2Opus的一个新模块,H2Opus是一个面向性能的软件包,支持CPU和GPU上的各种$\mathcal{H}^2$矩阵运算。分布式GPU设置中的性能是通过编组分层矩阵表示的树数据来实现的,以允许在各个GPU上执行批处理内核。MPI用于进程间通信。我们优化的通信数据量和隐藏的通信成本与本地计算阶段的算法。测试结果显示,Summit上最多可支持1024个NVIDIA V100 GPU的近乎理想的可扩展性,矩阵向量乘法的性能超过2.3 Tflops/s/GPU,矩阵压缩的性能超过670 Gflops/s/GPU,其中包括批量QR和SVD运算。我们说明了该库的灵活性和效率,通过求解一个二维可变扩散率积分分数扩散问题的代数多重网格预处理Krylov求解器,并展示了可扩展性高达16 M自由度的问题上64 GPU。
英文摘要:
Hierarchical $\mathcal{H}^2$-matrices are asymptotically optimal representations for the discretizations of non-local operators such as those arising in integral equations or from kernel functions. Their $O(N)$ complexity in both memory and operator application makes them particularly suited for large-scale problems. As a result, there is a need for software that provides support for distributed operations on these matrices to allow large-scale problems to be represented. In this paper, we present high-performance, distributed-memory GPU-accelerated algorithms and implementations for matrix-vector multiplication and matrix recompression of hierarchical matrices in the $\mathcal{H}^2$ format. The algorithms are a new module of H2Opus, a performance-oriented package that supports a broad variety of $\mathcal{H}^2$-matrix operations on CPUs and GPUs. Performance in the distributed GPU setting is achieved by marshaling the tree data of the hierarchical matrix representation to allow batched kernels to be executed on the individual GPUs. MPI is used for inter-process communication. We optimize the communication data volume and hide much of the communication cost with local compute phases of the algorithms. Results show near-ideal scalability up to 1024 NVIDIA V100 GPUs on Summit, with performance exceeding 2.3 Tflop/s/GPU for the matrix-vector multiplication, and 670 Gflops/s/GPU for matrix compression, which involves batched QR and SVD operations. We illustrate the flexibility and efficiency of the library by solving a 2D variable diffusivity integral fractional diffusion problem with an algebraic multigrid-preconditioned Krylov solver and demonstrate scalability up to 16M degrees of freedom problems on 64 GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。