基于GPU的三维Edwards-Anderson模型紧致异步多自旋编码回火并行模拟
Parallel Tempering Simulation of the three-dimensional Edwards-Anderson Model with Compact Asynchronous Multispin Coding on GPU
摘要:
伊辛模型的蒙特卡罗模拟在计算统计物理领域起着重要的作用,在过去的几十年里,它揭示了模型的许多性质。然而,由于随机无序,特别是可能的自旋玻璃相的挫折的影响,仍然是一个关键的,但知之甚少的问题。随机受挫系统的蒙特卡罗模拟的一个障碍是其长的弛豫时间,使得在最先进的计算平台上的高效并行实现非常可取。图形处理单元(GPU)就是这样一个平台,它提供了一个机会,以显着提高计算性能,从而获得对这个问题的新见解。在本文中,我们提出了优化和调优方法的CUDA实现的自旋玻璃模拟GPU上。我们讨论了各种设计方案的集成,如GPU内核的建设与最小的通信,内存平铺,和查找表。我们提出了一种二进制数据格式,紧凑的异步多自旋编码(CAMSC),它提供了一个额外的$28.4\%$加速相比,传统上使用的异步多自旋编码(AMSC)。我们的整体设计维持了33.5皮秒的性能,每次自旋翻转尝试模拟三维爱德华-安德森模型与并行回火,显着提高了现有的GPU实现的性能。
英文摘要:
Monte Carlo simulations of the Ising model play an important role in the field of computational statistical physics, and they have revealed many properties of the model over the past few decades. However, the effect of frustration due to random disorder, in particular the possible spin glass phase, remains a crucial but poorly understood problem. One of the obstacles in the Monte Carlo simulation of random frustrated systems is their long relaxation time making an efficient parallel implementation on state-of-the-art computation platforms highly desirable. The Graphics Processing Unit (GPU) is such a platform that provides an opportunity to significantly enhance the computational performance and thus gain new insight into this problem. In this paper, we present optimization and tuning approaches for the CUDA implementation of the spin glass simulation on GPUs. We discuss the integration of various design alternatives, such as GPU kernel construction with minimal communication, memory tiling, and look-up tables. We present a binary data format, Compact Asynchronous Multispin Coding (CAMSC), which provides an additional $28.4\%$ speedup compared with the traditionally used Asynchronous Multispin Coding (AMSC). Our overall design sustains a performance of 33.5 picoseconds per spin flip attempt for simulating the three-dimensional Edwards-Anderson model with parallel tempering, which significantly improves the performance over existing GPU implementations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。