arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.08900physics.comp-phastro-ph.IMcs.DCphysics.flu-dyn
收藏

基于GPU的可压缩流体高阶有限差分模拟方法

Methods for compressible fluid simulation on GPUs using high-order finite differences

Johannes Pekkilä, Miikka S. Väisälä, Maarit J. Käpylä, Petri J. Käpylä, Omer Anjum

摘要:

我们专注于实施和优化六阶有限差分求解器,用于在GPU上使用三阶龙格库塔积分来模拟可压缩流体。由于图形处理单元在数据并行任务中表现良好,这使得它们成为流体模拟的有吸引力的平台。然而,高阶模板计算相对于GPU的主存储器和高速缓存都是存储器密集型的。我们提出了两种方法来模拟可压缩流体使用55点和19点的stenetrance。我们试图减少内存带宽和缓存大小的要求,在我们的方法,通过使用缓存块和分解成几个带宽绑定内核的延迟绑定内核。我们最快的实施方案受带宽限制,并在Tesla K40 t GPU上每秒集成$343$百万网格点,与基于两个英特尔至强E5- 2690 v3处理器的同类流体动力学求解器相比,实现了$3.6 \times$加速。我们的替代GPU实现是延迟受限的,并实现每秒$168$百万次更新的速率。

英文摘要:

We focus on implementing and optimizing a sixth-order finite-difference solver for simulating compressible fluids on a GPU using third-order Runge-Kutta integration. Since graphics processing units perform well in data-parallel tasks, this makes them an attractive platform for fluid simulation. However, high-order stencil computation is memory-intensive with respect to both main memory and the caches of the GPU. We present two approaches for simulating compressible fluids using 55-point and 19-point stencils. We seek to reduce the requirements for memory bandwidth and cache size in our methods by using cache blocking and decomposing a latency-bound kernel into several bandwidth-bound kernels. Our fastest implementation is bandwidth-bound and integrates $343$ million grid points per second on a Tesla K40t GPU, achieving a $3.6 \times$ speedup over a comparable hydrodynamics solver benchmarked on two Intel Xeon E5-2690v3 processors. Our alternative GPU implementation is latency-bound and achieves the rate of $168$ million updates per second.

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

↑