A Fast Batched Cholesky Factorization on a GPU

Tingxing Dong, Azzam Haidar, Stanimire Tomov, Jack Dongarra

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

30 Scopus citations

Abstract

Currently, state of the art libraries, like MAGMA, focus on very large linear algebra problems, while solving many small independent problems, which is usually referred to as batched problems, is not given adequate attention. In this paper, we proposed a batched Cholesky factorization on a GPU. Three algorithms - non-blocked, blocked, and recursive blocked - were examined. The left-looking version of the Cholesky factorization is used to factorize the panel, and the right-looking Cholesky version is used to update the trailing matrix in the recursive blocked algorithm. Our batched Cholesky achieves up to 1.8× speedup compared to the optimized parallel implementation in the MKL library on two sockets of Intel Sandy Bridge CPUs. Further, we use the new routines to develop a single Cholesky factorization solver which targets large matrix sizes. Our approach differs from MAGMA by having an entirely GPU implementation where both the panel factorization and the trailing matrix updates are on the GPU. Such an implementation does not depend on the speed of the CPU. Compared to the MAGMA library, our full GPU solution achieves 85% of the hybrid MAGMA performance which uses 16 Sandy Bridge cores, in addition to a K40 Nvidia GPU. Moreover, we achieve 80% of the practical dgemm peak of the machine, while MAGMA achieves only 75%, and finally, in terms of energy consumption, we outperform MAGMAby 1.5× in performance-per-watt for large matrices.

Original languageEnglish
Title of host publicationProceedings - 43rd International Conference on Parallel Processing, ICPP 2014
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages432-440
Number of pages9
EditionNovember
ISBN (Electronic)9781479956180
DOIs
StatePublished - Nov 13 2014
Event43rd International Conference on Parallel Processing, ICPP 2014 - Minneapolis, United States
Duration: Sep 9 2014Sep 12 2014

Publication series

NameProceedings of the International Conference on Parallel Processing
NumberNovember
Volume2014-November
ISSN (Print)0190-3918

Conference

Conference43rd International Conference on Parallel Processing, ICPP 2014
Country/TerritoryUnited States
CityMinneapolis
Period09/9/1409/12/14

Keywords

  • Batched factorization
  • GPU computation
  • Numerical Linear Algebra

Fingerprint

Dive into the research topics of 'A Fast Batched Cholesky Factorization on a GPU'. Together they form a unique fingerprint.

Cite this