Although the matrix multiplication plays a vital role in computational linear algebra, there are few efficient solutions for matrix multiplication of the near-sparse matrices. The Sparse Approximate Matrix Multiply (SpAMM) is one of the algorithms to fill the performance gap neglected by traditional optimizations for dense/sparse matrix multiplication. However, existing SpAMM algorithms fail to exploit the performance potential of GPUs for acceleration. In this paper, we present cuSpAMM, the first parallel SpAMM algorithm optimized for multiple GPUs. Several performance optimizations have been proposed, including algorithm re-design to adapt to the thread parallelism, blocking strategies for memory access optimization, and the acceleration with the tensor core. In addition, we scale cuSpAMM to run on multiple GPUs with an effective load balance scheme. We evaluate cuSpAMM on both synthesized and real-world datasets on multiple GPUs. The experiment results show that cuSpAMM achieves significant performance speedup compared to vendor optimized cuBLAS and cuSPARSE libraries.
Performance Engineering for Real and Complex Tall & Skinny Matrix Multiplication Kernels on GPUs
在供应商提供的BLAS库中,具有双精度实数和复数项(DGEMM和ZGEMM)的一般矩阵-矩阵乘法最适合于方形矩阵,但对于高而宽的高而瘦的矩阵,性能往往很差。NVIDIA目前的CUBLAS实现仅提供了屋顶模型所示潜在性能的一小部分。我们描述的挑战和关键特征的实施,可以实现接近最佳性能。我们进一步评估不同的策略的并行化和线程分布,并设计一个灵活的,可配置的映射方案。为了确保灵活性并允许高度定制的实现,我们将代码生成与自动调优相结合。对于感兴趣领域中的大范围矩阵大小,我们实现了至少2/3的屋顶性能,并且在NVIDIA Volta GPGPU上的性能通常远远超过最先进的CUBLAS结果。
Accelerating AI Performance using Anderson Extrapolation on GPUs
King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);Applied Physics Program, Physical Sciences and Engineering Division(物理科学与工程分部应用物理项目);Extreme Computing Research Center, Computer, Electrical and Mathematical Sciences and Engineering Division(计算机、电气与数学科学与工程分部极端计算研究中心)
Accelerating State-Vector Quantum Simulation on Integrated GPUs via Cache Locality Optimization: A Cross-Architecture Evaluation
Instituto de Pesquisas Eldorado(Eldorado研究所);Universidade Federal de Santa Catarina(圣卡塔琳娜联邦大学);Pontifícia Universidade Católica do Rio Grande do Sul(南里奥格兰德天主教 Pontifícia 大学)