具有截断半径且每个单元粒子数较少的粒子相互作用的高效GPU实现
Efficient GPU Implementation of Particle Interactions with Cutoff Radius and Few Particles per Cell
AI总结:
针对截断半径下少粒子单元的粒子相互作用GPU并行问题,提出两种利用共享内存的新方法,经三种GPU上Cuda和Hip测试,X-铅笔法仅在特定场景有显著加速效果。
摘要:
本文提出了在每个单元粒子数较少且相互作用受截断距离限制的情况下,在GPU上并行化粒子相互作用的新方法。文章首先调研了经典算法,随后介绍了两种旨在利用共享内存的替代方案。第一种方法复制子盒内的粒子,第二种方法沿X轴以“铅笔状”结构加载粒子。研究使用Cuda和Hip在三种GPU模型上对不同实现进行了对比。结果表明,X-铅笔方法可实现显著的加速,但仅适用于非常特定的场景。
英文摘要:
This paper presents novel approaches to parallelizing particle interactions on a GPU when there are few particles per cell and the interactions are limited by a cutoff distance. The paper surveys classical algorithms and then introduces two alternatives that aim to utilize shared memory. The first approach copies the particles of a sub-box, while the second approach loads particles in a pencil along the X-axis. The different implementations are compared on three GPU models using Cuda and Hip. The results show that the X-pencil approach can provide a significant speedup but only in very specific cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。