arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1110.0899physics.comp-ph
收藏

基于GPU的单簇算法对伊辛模型的仿真

GPU-based single-cluster algorithm for the simulation of the Ising model

Yukihiro Komura, Yutaka Okabe

摘要:

针对伊辛模型的Wolff单簇算法,提出了基于通用统一设备架构(CUDA)的GPU计算。提出了一种准块同步算法,并利用CUDA实现了Wolff单簇蒙特卡罗模拟。我们在不断增长的集群中对新添加的自旋进行并行计算。结果,在线性尺寸L=4096的临界温度下的二维伊辛模型的GPU计算速度是当前CPU核上的计算速度的5.60倍。对于线性尺寸L=256的三维伊辛模型,GPU计算速度是CPU计算速度的7.90倍。准块同步的思想不仅适用于集群算法,而且适用于许多需要所有线程同步的领域。

英文摘要:

We present the GPU calculation with the common unified device architecture (CUDA) for the Wolff single-cluster algorithm of the Ising model. Proposing an algorithm for a quasi-block synchronization, we realize the Wolff single-cluster Monte Carlo simulation with CUDA. We perform parallel computations for the newly added spins in the growing cluster. As a result, the GPU calculation speed for the two-dimensional Ising model at the critical temperature with the linear size L=4096 is 5.60 times as fast as the calculation speed on a current CPU core. For the three-dimensional Ising model with the linear size L=256, the GPU calculation speed is 7.90 times as fast as the CPU calculation speed. The idea of quasi-block synchronization can be used not only in the cluster algorithm but also in many fields where the synchronization of all threads is required.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑