arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~

TempLat:用于格点场论的通用C++引擎

TempLat: a versatile C++ engine for lattice field theories

Adrien Florio, Franz R. Sattler

arXiv 2607.24908首次发表:更新:

AI 中文总结

介绍用于格点场论模拟的C++框架TempLat,基于表达式模板,性能可移植,支持多种硬件,展示了良好缩放性能。还介绍了ParaFaFT库,两者开源,为CosmoLattice新版本提供支持。

AI 中文摘要

我们展示了TempLat,一个用于任意维度格点场论模拟的C++框架。其基于表达式模板的符号语言,能将数学表达式几乎逐字翻译成C++,并编译为高度优化的内核,适用于从经典统计到蒙特卡罗模拟等多种场景。TempLat具有性能可移植性,基于Kokkos,支持大型CPU集群以及NVIDIA和AMD GPU。其将硬件抽象为设备概念,可扩展到未来架构。我们展示了在CPU和GPU上出色的强缩放和弱缩放性能。我们还展示了ParaFaFT,一个支持上述所有硬件任意维度的独立并行离散傅里叶变换库,并对其缩放进行基准测试。两者均为开源且可在GitHub上获取,为现在可在GPU上使用的广泛使用的早期宇宙模拟库CosmoLattice的新版本提供支持。

英文摘要

We present TempLat, a C++ framework for lattice field theory simulations in arbitrary dimensions. Its symbolic language, built on expression templates, translates mathematical expressions almost verbatim into C++ while compiling to highly optimized kernels, in contexts ranging from classical-statistical to Monte Carlo simulations. TempLat is performance-portable: building on Kokkos, it supports large CPU clusters, as well as NVIDIA and AMD GPUs. Its abstraction of hardware into a device concept makes TempLat extensible to future architectures. We demonstrate excellent strong and weak scaling on both CPUs and GPUs. We also present ParaFaFT, a standalone parallel discrete Fourier transform library supporting arbitrary dimensions on all of the above hardware, and benchmark its scaling. Both are open source and available on GitHub, and power a new release of CosmoLattice, a widely used early-universe simulation library now available on GPUs.

CommentsOpen source, 12 pages, 7 figures

论文原文

arXiv 摘要页 · PDF 原文 · HTML 原文

↑