Accuracy and performance of graphics processors: A Quantum Monte Carlo application case study

Jeremy S. Meredith, Gonzalo Alvarez, Thomas A. Maier, Thomas C. Schulthess, Jeffrey S. Vetter

Research output: Contribution to journalArticlepeer-review

30 Scopus citations

Abstract

The tradeoffs of accuracy and performance are as yet an unsolved problem when dealing with Graphics Processing Units (GPUs) as a general-purpose computation device. Their high performance and low cost makes them a desirable target for scientific computation, and new language efforts help address the programming challenges of data parallel algorithms and memory management. But the original task of GPUs - real-time rendering - has traditionally kept accuracy as a secondary goal, and sacrifices have sometimes been made as a result. In fact, the widely deployed hardware is generally capable of only single precision arithmetic, and even this accuracy is not necessarily equivalent to that of a commodity CPU. In this paper, we investigate the accuracy and performance characteristics of GPUs, including results from a preproduction double precision-capable GPU. We then accelerate the full Quantum Monte Carlo simulation code DCA++, similarly investigating its tolerance to the precision of arithmetic delivered by GPUs. The results show that while DCA++ has some sensitivity to the arithmetic precision, the single-precision GPU results were comparable to single-precision CPU results. Acceleration of the code on a fully GPU-enabled cluster showed that any remaining inaccuracy in GPU precision was negligible; sufficient accuracy was retained for scientifically meaningful results while still showing significant speedups.

Original languageEnglish
Pages (from-to)151-163
Number of pages13
JournalParallel Computing
Volume35
Issue number3
DOIs
StatePublished - Mar 2009

Funding

Research sponsored by the Laboratory Directed Research and Development Program of Oak Ridge National Laboratory (ORNL), managed by UT-Battelle, LLC for the US Department of Energy, as well as the Scientific User Facilities Division of the Office of Basic Energy Sciences of the U.S. Department of Energy. The submitted manuscript has been authored by a contractor of the US Government under Contract No. DE-AC05-00OR22725. Accordingly, the US Government retains a non-exclusive, royalty-free license to publish or reproduce the published form of this contribution, or allow others to do so, for US Government purposes.

Keywords

  • Accuracy
  • GPU
  • Graphics processors
  • Parallel computing
  • Performance
  • Quantum Monte Carlo

Fingerprint

Dive into the research topics of 'Accuracy and performance of graphics processors: A Quantum Monte Carlo application case study'. Together they form a unique fingerprint.

Cite this