An Improved Magma Gemm For Fermi Graphics Processing Units
Authors:
- 18 November 2010
- journal article
- research article
- Published by SAGE Publications in The International Journal of High Performance Computing Applications
- Vol. 24 (4) , 511-515
Abstract
We present an improved matrix—matrix multiplication routine (General Matrix Multiply [GEMM]) in the MAGMA BLAS library that targets the NVIDIA Fermi graphics processing units (GPUs) using Compute Unified Data Architecture (CUDA). We show how to modify the previous MAGMA GEMM kernels in order to make a more efficient use of the Fermi’s new architectural features, most notably their extended memory hierarchy and memory sizes. The improved kernels run at up to 300 GFlop/s in double precision and up to 645 GFlop/s in single precision arithmetic (on a C2050), which is correspondingly 58% and 63% of the theoretical peak. We compare the improved kernels with the currently available version in CUBLAS 3.1. Further, we show the effect of the new kernels on higher-level dense linear algebra (DLA) routines such as the one-sided matrix factorizations, and compare their performances with corresponding, currently available routines running on homogeneous multicore systems.Keywords
This publication has 7 references indexed in Scilit:
- Accelerating GPU Kernels for Dense Linear Algebra2011
- A Note on Auto-tuning GEMM for GPUs2009
- Benchmarking GPUs to tune dense linear algebra2008
- Understanding the efficiency of GPU algorithms for matrix-matrix multiplication2004
- Automated empirical optimizations of software and the ATLAS projectParallel Computing, 2001
- LAPACK Users' Guide1999
- Stability of a Method for Multiplying Complex Matrices with Three Real Matrix MultiplicationsSIAM Journal on Matrix Analysis and Applications, 1992