A High-Performance Implementation of Atomistic Spin Dynamics Simulations on x86 CPUs
Hongwei Chen, Yujia Zhai, Joshua J. Turner, Adrian Feiguin

TL;DR
This paper presents a highly optimized implementation of atomistic spin dynamics simulations on x86 CPUs, significantly improving performance by leveraging GEMM routines and kernel fusion to efficiently compute dynamical correlation functions.
Contribution
The work introduces a novel, optimized approach using GEMM and kernel fusion to accelerate spin dynamics simulations on standard CPUs, enabling larger system analysis.
Findings
Performance improvements of 44% - 71% over existing methods
Efficient utilization of hardware through GEMM-based calculations
Enabling simulation of larger spin systems with reduced computational cost
Abstract
Atomistic spin dynamics simulations provide valuable information about the energy spectrum of magnetic materials in different phases, allowing one to identify instabilities and the nature of their excitations. However, the time cost of evaluating the dynamical correlation function increases quadratically as the number of spins , leading to significant computational effort, making the simulation of large spin systems very challenging. In this work, we propose to use a highly optimized general matrix multiply (GEMM) subroutine to calculate the dynamical spin-spin correlation function that can achieve near-optimal hardware utilization. Furthermore, we fuse the element-wise operations in the calculation of into the in-house GEMM kernel, which results in further performance improvements of 44\% - 71\% on several relatively large lattice sizes when…
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 · Advanced Data Storage Technologies · Magnetic properties of thin films
