An adaptive FP32/FP64 precision ladder for GPU-accelerated GFN2-xTB
Large-scale GFN2-xTB calculations spend most of their time in the dense eigensolver of the self-consistent-charge (SCC) iterations. On workstation and consumer GPUs, whose double-precision (FP64) throughput is a small fraction of their singleprecision (FP32) throughput, offloading this step in FP64 yields only a small speedup. We present an adaptive FP32/FP64 precision ladder for the GPU eigensolver of xtb: every SCF starts with FP32 solves, switches to FP64 once the largest change of the Hamiltonian diagonal falls below a threshold, and accepts a converged density only from an FP64 solve. The ladder is a small patch to xtb that leaves the CPU path bitidentical. For 32 test systems with up to 19,200 basis functions, single points above about 5000 basis functions run 2.4–3.8 times faster than on the CPU at 16 threads each, 1.9–3.2 times at 32 threads each and up to 6.6 times on a single thread, and the energies of all 29 systems that reach the GPU agree with the CPU results to within 2.4 × 10−7 Eh, below the SCC convergence threshold. In 20 ps of molecular dynamics the GPU run conserves energy as well as the CPU run, and a protein geometry optimization finishes 2.0 times faster.
Authors
- Ruocheng Han (ORCID: https://orcid.org/0000-0001-9874-9965)
- Yi Lin (ORCID: https://orcid.org/0000-0002-2484-2080)
Institutions
- Roche (China) (CN)
Publication Details
- Journal
- ChemRxiv
- Published
- 2026-11-26
- DOI
- https://doi.org/10.26434/chemrxiv.15012813/v1
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- preprint