International Symposium on Computing and Networking
GPU Acceleration of RI-RMP2 Correlation Energy Computation
Kanta Suzuki, Yasuaki Ito, Nobuya Yokogawa, Satoki Tsuji, Koji Nakano, Victor Parque, Akihiko Kasagi
Abstract
In Computational Quantum Chemistry, the restricted second-order M0ller-Plesset theory (RMP2) has garnered significant attention for performing high-accuracy computations on closed-shell molecular systems. In particular, the RMP2 with Resolution-of-the-Identity approximation (RI-RMP2) reduces memory usage by approximating the O(M4) tensor with an O(M3) intermediate tensor. However, this approach still requires a high computational cost, making further acceleration necessary. In this paper, we propose a GPU-based implementation to efficiently compute the RI-RMP2 correlation energy. The key idea of our implementation lies in reconstructing the O(M4) tensor via a vendor-optimized matrix multiplication routine, while limiting the required memory usage to O(M3). Furthermore, we formulate an equation to compute the RI-RMP2 correlation energy via a four-term decomposition (summation) with mutually exclusive index ranges, create separate CUDA kernels for each decomposed term, and compute them by different CUDA streams. Our method reduces the required number of threads and maximizes GPU resource utilization. Experimental evaluations conducted on an NVIDIA A100 GPU using relevant molecules with different basis sets demonstrate that our implementation achieves up to a 23.18× speedup over a naive implementation, and up to 165.16× and 4.04× speedups over the state-of-the-art versions of existing quantum chemistry software packages, PySCF and GPU4PySCF, respectively.