Accelerating GPU kernels for dense linear algebra

Rajib Nath, Stanimire Tomov, Jack Dongarra

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

27 Scopus citations

Abstract

Implementations of the Basic Linear Algebra Subprograms (BLAS) interface are major building block of dense linear algebra (DLA) libraries, and therefore have to be highly optimized. We present some techniques and implementations that significantly accelerate the corresponding routines from currently available libraries for GPUs. In particular, Pointer Redirecting - a set of GPU specific optimization techniques - allows us to easily remove performance oscillations associated with problem dimensions not divisible by fixed blocking sizes. For example, applied to the matrix-matrix multiplication routines, depending on the hardware configuration and routine parameters, this can lead to two times faster algorithms. Similarly, the matrix-vector multiplication can be accelerated more than two times in both single and double precision arithmetic. Additionally, GPU specific acceleration techniques are applied to develop new kernels (e.g. syrk, symv) that are up to 20× faster than the currently available kernels. We present these kernels and also show their acceleration effect to higher level dense linear algebra routines. The accelerated kernels are now freely available through the MAGMA BLAS library.

Original languageEnglish
Title of host publicationHigh Performance Computing for Computational Science, VECPAR 2010 - 9th International Conference, Revised Selected Papers
Pages83-92
Number of pages10
DOIs
StatePublished - 2011
Externally publishedYes
Event9th International Conference on High Performance Computing for Computational Science, VECPAR 2010 - Berkeley, CA, United States
Duration: Jun 22 2010Jun 25 2010

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6449 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference9th International Conference on High Performance Computing for Computational Science, VECPAR 2010
Country/TerritoryUnited States
CityBerkeley, CA
Period06/22/1006/25/10

Keywords

  • BLAS
  • GEMM
  • GPUs

Fingerprint

Dive into the research topics of 'Accelerating GPU kernels for dense linear algebra'. Together they form a unique fingerprint.

Cite this