The increasing diversity of high performance computing systems makes separate, architecture specific implementations of lattice gauge theory algorithms costly to maintain. We present , a performance portable Kokkos implementation of Wilson pure gauge Monte Carlo simulation for Yang-Mills theory in an arbitrary number of space-time dimensions. The gauge group order and the dimension are compile time parameters. A single source targets the Serial, OpenMP, CUDA, HIP, and SYCL execution spaces, with MPI halo exchange overlapped with interior updates. The implementation reproduces the exact two-dimensional plaquette and published three and four dimensional values for gauge groups up to . On an NVIDIA A100 the Kokkos CUDA backend is competitive with a native CUDA code, SIMD acceleration improves the OpenMP path on Armv9 processors, and a large scale speedup is demonstrated for an lattice on the LineShine supercomputer, currently ranked first on the TOP500 list.

生成讲解博客的中文版本

生成AI智能校验的中文版本