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

GPU上的SU(2)格

Lattice SU(2) on GPU's

Nuno Cardoso, Pedro Bicudo

摘要:

本文讨论了用CUDA方法模拟纯规范格点SU(2)。CUDA是NVIDIA为GPU上的计算开发的硬件和软件架构。我们提出了一个分析和性能比较之间的GPU和CPU的单精度。使用CUDA和OPENMP的单GPU和多GPU的分析,也被提出。为了获得高性能,代码必须针对GPU架构进行优化,即,一种利用CUDA编程模型的内存层次结构的实现。通过使用GPU纹理存储器,最大限度地减少CPU与GPU之间的数据传输,使用2块NVIDIA 295 GTX显卡相对于一个串行CPU实现了$200\times$的加速比,表明GPU可以作为一个高效的科学计算平台。使用多GPU,我们能够在一天的计算中,在具有$β=6.0$的$48^4$晶格中生成1 000 000规范配置,并计算平均平均元格。我们目前的平均平均元格在几个不同的$β$晶格尺寸的结果。最后给出了有限温度下平均Polyakov圈的结果。

英文摘要:

We discuss the CUDA approach to the simulation of pure gauge Lattice SU(2). CUDA is a hardware and software architecture developed by NVIDIA for computing on the GPU. We present an analysis and performance comparison between the GPU and CPU with single precision. Analysis with single and multiple GPU's, using CUDA and OPENMP, are also presented. In order to obtain a high performance, the code must be optimized for the GPU architecture, i.e., an implementation that exploits the memory hierarchy of the CUDA programming model. Using GPU texture memory and minimizing the data transfers between CPU and GPU, we achieve a speedup of $200\times$ using 2 NVIDIA 295 GTX cards relative to a serial CPU, which demonstrates that GPU's can serve as an efficient platform for scientific computing. With multi-GPU's we are able, in one day computation, to generate 1 000 000 gauge configurations in a $48^4$ lattice with $β=6.0$ and calculate the mean average plaquette. We present results for the mean average plaquette in several lattice sizes for different $β$. Finally we present results for the mean average Polyakov loop at finite temperature.

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

↑