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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

An adaptive FP32/FP64 precision ladder for GPU-accelerated GFN2-xTB

Ruocheng Han, Yi Lin
ChemRxiv
Parallel Computing and Optimization Techniques
preprint

An adaptive FP32/FP64 precision ladder for GPU-accelerated GFN2-xTB

Ruocheng Han, Yi Lin
preprint en

Abstract

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.

ChemRxiv
Roche (China) (CN)
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
An adaptive FP32/FP64 precision ladder for GPU-accelerated GFN2-xTB — Ruocheng Han, Yi Lin · ChemRxiv (2026) | TGRS Research Map | TGRS