arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1309.7128math.NAcs.NAphysics.comp-ph
收藏

为计算不稳不可压缩流体流动优化的GPU集群多网格方案

A GPU cluster optimized multigrid scheme for computing unsteady incompressible fluid flow

Wigner Research Centre for Physics(维格纳物理研究中心);Institute for Solid State Physics and Optics, Wigner Research Centre for Physics(维格纳物理研究中心固体物理与光学研究所)

György Tegze, Gyula I. Tóth

AI总结:

本文提出一种多网格方案用于不可压缩不稳流体流动压力方程,通过优化网格层次结构减少同步事件,提升CPU、MIC和GPU的效率,并展示了一种高阶插值 stencil 提高收敛速度。

摘要:

本文提出了一种用于不可压缩不稳流体流动压力方程的多网格方案,允许在现代CPU、MIC和GPU集群上高效实现。研究表明,当使用深度2h网格层次结构替换为两层方案,使用16h-32h限制时,总同步事件数量可显著减少,符合现代CPU和GPU SIMD引擎的宽度。此外,由于不需要strided内存访问,也确保了最优的内存传输。与传统加法校正多网格(ACM)相比,平滑步骤的算术强度有所增加,但通过减少昂贵的限制步骤数量在运行时间上得到平衡。还提出了一个系统性的粗网格stencil构造方法,有助于缓解与激进粗化相关的多余算术强度。我们高阶插值stencil通过最小化粗尺度和细尺度解之间的虚假干扰来提高收敛速度。该方法在解决二维不可压缩流体流动的压力方程上进行了演示:基准设置涵盖腔体中剪切驱动的层流和湍流喷嘴的直接数值模拟(DNS)。我们从迭代算术强度和所需的同步调用数量方面比较了我们的方案与ACM。此外,当使用混合OpenCl/MPI并行化时,还展示了该方案的强标度性能。

英文摘要:

A multigrid scheme is proposed for the pressure equation of the incompressible unsteady fluid flow equations, allowing efficient implementation on clusters of modern CPUs, many integrated core devices (MICs), and graphics processing units (GPUs). It is shown that the total number of the synchronization events can be significantly reduced when a deep, 2h grid hierarchy is replaced with a two-level scheme using 16h-32h restriction, fitting to the the width of the SIMD engine of modern CPUs and GPUs. In addition, optimal memory transfer is also ensured, since no strided memory access is required. We report increasing arithmetic intensity of the smoothing steps when compared to the conventional additive correction multigrid (ACM), however it is counterbalanced in runtime by the decreasing number of the expensive restriction steps. A systematic construction methodology for the coarse grid stencil is also presented that helps in moderating the excess arithmetic intensity associated with the aggressive coarsening. Our higher order interpolated stencil improves convergence rate via minimizing spurious interference between the coarse and the fine scale solutions. The method is demonstrated on solving the pressure equation for 2D incompressible fluid flow: The benchmark setups cover shear driven laminar flow in cavity, and direct numerical simulation (DNS) of a turbulent jet. We have compared our scheme to the ACM in terms of the arithmetic intensity of the iterations and the number of the synchronization calls required. Also the strong scaling is plotted for our scheme when using a hybrid OpenCl/MPI based parallelization.

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

↑