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

Dominik Grewe, Anton Lokhmotov · 2011

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.

Read the paper · More papers on PaperTik