arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.14795cs.DC
收藏

使用FPGA和OmpSs@OpenCL加速粒子-网格算法

Accelerating Particle-Mesh Algorithms with FPGAs and OmpSs@OpenCL

Nicolas Lee Guidotti

AI总结:

本研究利用FPGA和OmpSs@OpenCL加速粒子-网格算法,通过瓦片排序、显式缓存和流水线复制提升性能,在功耗效率和性能上优于GPU和CPU实现。

摘要:

由于其灵活的架构,FPGA支持独特的、深层次的硬件流水线实现,用于加速HPC应用。然而,这些设备在HPC领域相对较新,因此在某些特定科学领域(如机器学习或生物序列比对)之外很少被探索。本论文的目标是表征基于FPGA的解决方案,用于加速粒子-网格算法,其中每个粒子所受的力是基于沉积在有限网格(或栅格)上的场来计算的。我们的起点是一个名为ZPIC的二维动力学PIC等离子体模拟器,它具有与OSIRIS相同的核心算法和功能。为了创建高效的硬件设计,程序将粒子严格按瓦片(一组单元)排序,并将本地内存用作显式管理的缓存。我们还创建了多个本地电流缓冲区的副本,以解决沉积阶段的依赖问题。生成的流水线被多次复制以探索数据并行性并提高其吞吐量。然后,我们将我们的硬件解决方案与GPU和多核CPU上的类似实现进行比较,在功耗效率和性能方面显示出有希望的结果。

英文摘要:

Due to its flexible architecture, FPGAs support unique, deep hardware pipeline implementations for accelerating HPC applications. However, these devices are quite new in the HPC space, and thus, have been scarcely explored outside some specific scientific domain, such as machine learning or biological sequence alignment. The objective of this thesis is to characterize the FPGA-based solution for accelerating particle-mesh algorithms, in which the force applied to each particle is computed based on the fields deposited in a finite mesh (or grid). Our starting point is a 2D kinetic PIC plasma simulator called ZPIC that has the same core algorithm and functionalities as OSIRIS. To create an efficient hardware design, the program keeps the particles strictly sorted by tiles (a group of cells) and uses the local memory as an explicitly managed cache. We also create multiple copies of the local current buffer to solve dependencies during the deposition phase. The resulting pipeline was replicated multiple times to explore data parallelism and increase its throughput. We then compare our hardware solution against similar implementations on GPU and multicore CPUs, showing promising results in term of power efficiency and performance. Keywords: FPGA, OpenCL, Kinetic Plasma Simulation.

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

↑