1693

A Note on Auto-tuning GEMM for GPUs

Yinan Li, Jack Dongarra, Stanimire Tomov
University of Tennessee, USA
In Computational Science – ICCS 2009 , Vol. 5544 (2009), pp. 884-892

@article{li2009note,

   title={A Note on Auto-tuning GEMM for GPUs},

   author={Li, Y. and Dongarra, J. and Tomov, S.},

   journal={Computational Science–ICCS 2009},

   pages={884–892},

   year={2009},

   publisher={Springer}

}

Download Download (PDF)   View View   Source Source   

827

views

The development of high performance dense linear algebra (DLA) critically depends on highly optimized BLAS, and especially on the matrix multiplication routine (GEMM). This is especially true for Graphics Processing Units (GPUs), as evidenced by recently published results on DLA for GPUs that rely on highly optimized GEMM. However, the current best GEMM performance, e.g. of up to 375 GFlop/s in single precision and of up to 75 GFlop/s in double precision arithmetic on NVIDIA’s GTX 280, is difficult to achieve. The development involves extensive GPU knowledge and even backward engineering to understand some undocumented insides about the architecture that have been of key importance in the development. In this paper, we describe some GPU GEMM auto-tuning optimization techniques that allow us to keep up with changing hardware by rapidly reusing, rather than reinventing, the existing ideas. Auto-tuning, as we show in this paper, is a very practical solution where in addition to getting an easy portability, we can often get substantial speedups even on current GPUs (e.g. up to 27% in certain cases for both single and double precision GEMMs on the GTX 280).
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2017 hgpu.org

All rights belong to the respective authors

Contact us: