• DocumentCode
    3111717
  • Title

    Benchmarking GPUs to tune dense linear algebra

  • Author

    Volkov, Vasily ; Demmel, James W.

  • Author_Institution
    Comput. Sci. Div., Univ. of California at Berkeley, Berkeley, CA, USA
  • fYear
    2008
  • fDate
    15-21 Nov. 2008
  • Firstpage
    1
  • Lastpage
    11
  • Abstract
    We present performance results for dense linear algebra using recent NVIDIA GPUs. Our matrix-matrix multiply routine (GEMM) runs up to 60% faster than the vendor´s implementation and approaches the peak of hardware capabilities. Our LU, QR and Cholesky factorizations achieve up to 80-90% of the peak GEMM rate. Our parallel LU running on two GPUs achieves up to ~540 Gflop/s. These results are accomplished by challenging the accepted view of the GPU architecture and programming guidelines. We argue that modern GPUs should be viewed as multithreaded multicore vector units. We exploit blocking similarly to vector computers and heterogeneity of the system by computing both on GPU and CPU. This study includes detailed benchmarking of the GPU memory system that reveals sizes and latencies of caches and TLB. We present a couple of algorithmic optimizations aimed at increasing parallelism and regularity in the problem that provide us with slightly higher performance.
  • Keywords
    benchmark testing; coprocessors; multiprocessing systems; CPU; Cholesky factorizations; GPU benchmarking; NVIDIA GPU; matrix-matrix multiply routine; multithreaded multicore vector units; parallel LU; tune dense linear algebra; Bandwidth; Computer architecture; Computer science; Delay; Hardware; Kernel; Libraries; Linear algebra; Mathematics; Performance analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing, Networking, Storage and Analysis, 2008. SC 2008. International Conference for
  • Conference_Location
    Austin, TX
  • Print_ISBN
    978-1-4244-2834-2
  • Electronic_ISBN
    978-1-4244-2835-9
  • Type

    conf

  • DOI
    10.1109/SC.2008.5214359
  • Filename
    5214359