Automatically generating and tuning GPU code for sparse matrix-vector multiplication from a high-level representation

  • Authors:
  • Dominik Grewe;Anton Lokhmotov

  • Affiliations:
  • University of Edinburgh, UK;ARM, Cambridge, UK

  • Venue:
  • Proceedings of the Fourth Workshop on General Purpose Processing on Graphics Processing Units
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a system-independent representation of sparse matrix formats that allows a compiler to generate efficient, system-specific code for sparse matrix operations. To show the viability of such a representation we have developed a compiler that generates and tunes code for sparse matrix-vector multiplication (SpMV) on GPUs. We evaluate our framework on six state-of-the-art matrix formats and show that the generated code performs similar to or better than hand-optimized code.