Dynamic Precision for Electron Repulsion Integral Evaluation on Graphical Processing Units (GPUs)

Nathan Luehr, Ivan S. Ufimtsev, Todd J. Martı́nez

Journal of Chemical Theory and Computation · 2011 · 179 citations · 19 references

Concepts

TL;DR

GPU architectures, with their abundant single‑precision units, are increasingly suited for electronic‑structure calculations, though recent GPUs still provide 2–8× more single‑precision than double‑precision hardware. The authors propose a dynamic precision selection method for evaluating electron‑repulsion integrals in Hartree‑Fock and density‑functional SCF calculations to maximize GPU performance. The method scales a precision cutoff during the SCF cycle, evaluating only the largest integrals in double precision and the rest in single precision, thereby minimizing double‑precision evaluations while meeting any desired accuracy. The approach effectively controls precision error by double‑precision evaluation of the largest integrals and demonstrates robust performance across molecules from 20 to nearly 2000 atoms.

Abstract

It has recently been demonstrated that novel streaming architectures found in consumer video gaming hardware such as graphical processing units (GPUs) are well-suited to a broad range of computations including electronic structure theory (quantum chemistry). Although recent GPUs have developed robust support for double precision arithmetic, they continue to provide 2-8× more hardware units for single precision. In order to maximize performance on GPU architectures, we present a technique of dynamically selecting double or single precision evaluation for electron repulsion integrals (ERIs) in Hartree-Fock and density functional self-consistent field (SCF) calculations. We show that precision error can be effectively controlled by evaluating only the largest integrals in double precision. By dynamically scaling the precision cutoff over the course of the SCF procedure, we arrive at a scheme that minimizes the number of double precision integral evaluations for any desired accuracy. This dynamic precision scheme is shown to be effective for an array of molecules ranging in size from 20 to nearly 2000 atoms.

References

19