Kernel Fusion in Atomistic Spin Dynamics Simulations on Nvidia GPUs using Tensor Core
Hongwei Chen, Shiyang Chen, Joshua J. Turner, Adrian Feiguin

TL;DR
This paper demonstrates how GPU-based kernel fusion and on-the-fly calculations using Tensor Cores significantly accelerate large-scale atomistic spin dynamics simulations, making them more feasible and cost-effective.
Contribution
The authors introduce a GPU-accelerated method with kernel fusion and on-the-fly computation to improve the efficiency of large-scale spin dynamics simulations.
Findings
GPU accelerates simulations up to 25 times compared to CPUs.
Kernel fusion improves performance by 26-33% over cuBLAS.
On-the-fly calculations enable large-scale simulations without extensive memory use.
Abstract
In atomistic spin dynamics simulations, the time cost of constructing the space- and time-displaced pair correlation function in real space increases quadratically as the number of spins , leading to significant computational effort. The GEMM subroutine can be adopted to accelerate the calculation of the dynamical spin-spin correlation function, but the computational cost of simulating large spin systems ( spins) on CPUs remains expensive. In this work, we perform the simulation on the graphics processing unit (GPU), a hardware solution widely used as an accelerator for scientific computing and deep learning. We show that GPUs can accelerate the simulation up to 25-fold compared to multi-core CPUs when using the GEMM subroutine on both. To hide memory latency, we fuse the element-wise operation into the GEMM kernel using that can improve the performance by…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Quantum Computing Algorithms and Architecture · Advanced NMR Techniques and Applications
