arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.08137physics.comp-phphysics.flu-dyn
收藏

统一气体动力学格式并行CPU和GPU算法性能比较

Performance Comparison on Parallel CPU and GPU Algorithms for Unified Gas-Kinetic Scheme

Jizhou Liu, Fang Q. Hu, Xiaodong Li

摘要:

分别在CPU和GPU上实现了统一气体动力学格式的并行算法,并以二维槽道流为例,比较了两种算法的性能。并行CPU算法具有仅对空间空间进行并行化的一维块划分。由于UGKS的固有特性,GPU算法采用了折衷的两级并行。一系列不同尺寸的网格进行测试,以揭示相对于问题大小的算法的性能演变。然后,特别注意UGKS的分子速度空间范围大的应用。比较结果证实,GPU具有相对较高的加速度,最新设备的加速比为118.38倍。相反,当速度空间中的网格点数较大时,并行CPU算法可能提供更好的性能。

英文摘要:

Parallel algorithms on CPU and GPU are implemented for the Unified Gas-Kinetic Scheme and their performances are investigated and compared by a two dimensional channel flow case. The parallel CPU algorithm has a one dimensional block partition that parallelizes only the spatial space. Due to the intrinsic feature of the UGKS, a compromised two-level parallelization is adopted for GPU algorithm. A series of meshes with different sizes are tested to reveal the performance evolution of the algorithms with respect to problem size. Then special attentions are paid to UGKS applications where the molecular velocity space range is large. The comparison confirms that GPU has relative elevated accelerations with the latest device having a speedup of 118.38x. Parallel CPU algorithm, on the contrary, might provide better performances when the grid point number in velocity space is large.

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

↑