arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19873cs.CEastro-ph.IMcs.DS
收藏

基于空间填充曲线数据布局的GPU原生压缩邻接表

GPU-Native Compressed Neighbor Lists with a Space-Filling-Curve Data Layout

Swiss National Supercomputing Centre (CSCS)(瑞士国家超级计算中心)

Felix Thaler, Sebastian Keller

AI总结:

本文提出了一种基于空间填充曲线数据布局的GPU原生压缩邻接表,用于高效处理短程粒子相互作用,并在高密度对比系统中表现出色,同时与八叉树方法无缝集成。

摘要:

我们开发了一种基于空间填充曲线(SFC)内存布局和粒子簇的压缩邻接表,用于短程粒子-粒子相互作用。该邻接表可以高效地在GPU上构建,支持NVIDIA和AMD硬件,仅需4字节存储每个粒子约200个邻居。与分子动力学代码GROMACS的高性能专用邻接表实现相比,其簇开销相当,在邻域遍历中表现相似。得益于SFC基于的数据布局以及每个粒子支持不同相互作用半径,该邻接表在高密度对比系统中表现良好,如天体物理和宇宙学应用中常见的系统。由于SFC与八叉树之间的紧密关系,该邻接表无缝整合到基于八叉树的域分解和基于多极的长程引力或静电相互作用方法中。为了展示长程和短程力之间的耦合,我们在多达1024个GPU上模拟了Evrard坍缩,这是一个用于验证流体动力学和引力力耦合的标准测试用例,并将结果与解析解进行比较。

英文摘要:

We have developed a compressed neighbor list for short-range particle-particle interaction based on a space- filling curve (SFC) memory layout and particle clusters. The neighbor list can be constructed efficiently on GPUs, supporting NVIDIA and AMD hardware, and has a memory footprint of only 4 bytes per particle to store approximately 200 neighbors. Compared to the highly-optimized domain-specific neighbor list implementation of GROMACS, a molecular dynamics code, it has a comparable cluster overhead and delivers similar performance in a neighborhood pass. Thanks to the SFC-based data layout and the support for varying interaction radii per particle, our neighbor list performs well for systems with high density contrasts, such as those encountered in many astrophysical and cosmological applications. Due to the close relation between SFCs and octrees, our neighbor list seamlessly integrates with octree-based domain decomposition and multipole-based methods for long-range gravitational or electrostatic interactions. To demonstrate the coupling between long- and short-range forces, we simulate an Evrard collapse, a standard test case for the coupling between hydrodynamical and gravitational forces, on up to 1024 GPUs, and compare our results to the analytical solution.

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

↑