Abstract
We present high-performance results with a high speed-up over vendor libraries for very small matrix computations. In addition, we discuss most of the challenges that prevent from designing efficient GPU kernels for small matrix algorithms. We propose relevant algorithm analysis to harness the full power of a GPU, and strategies for predicting the performance spectrum, before a proper implementation. We develop a theoretical analysis and a methodology for high-performance linear solvers for very small matrices. As test cases, we take the Cholesky and LU factorization and show how the proposed methodology allows us to achieve a performance close to the theoretical upper bound. This work investigates and proposes novel algorithms for designing highly optimized GPU kernels for solving batches of hundred of thousands of small size Cholesky and LU factorization. Our focus on efficient batched Cholesky and batched LU kernels is motivated by the increasing need of such kernel in scientific simulations such as astrophysics applications. Techniques for optimal memory traffic, register blocking, and tunable concurrency are incorporated in our proposed design. The proposed GPU kernels achieve performance speedups vs. CUBLAS of up to $6 \times$ for the factorization, using double precision arithmetic on a Pascal P100 GPU.
Funding Information
  • National Science Foundation (CSR 1514286, OAC 1740250)
  • Nvidia
  • Department of Energy

This publication has 20 references indexed in Scilit: