arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.08116astro-ph.GAphysics.comp-ph
收藏

光滑粒子流体动力学模型:GPU上的实现特性

Smoothed-Particle Hydrodynamics Models: Implementation Features on GPUs

Sergey Khrapov, Alexander Khoperskov

摘要:

采用GPU-Direct技术,研究了自引力气体动力学模型在多个GPU上的并行实现特点。详细介绍了基于OpenMP-CUDA混合并行编程模型求解自引力气体动力学问题的并行算法。气动力用改进的SPH方法(光滑粒子流体动力学)计算,N体问题引力相互作用用直接方法(粒子-粒子算法)计算。SPH方法性能的关键因素是创建参与气体动力计算的粒子的邻居列表。我们的实现是基于分层网格排序方法使用级联算法的并行计算部分和CUDA块。在银河系气晕碰撞模型的框架下,采用SPH方法研究了该算法在Nvidia Tesla系列(K20,K40,K80)不同GPU上的并行效率。

英文摘要:

Parallel implementation features of self-gravitating gas dynamics modeling on multiple GPUs are considered applying the GPU-Direct technology. The parallel algorithm for solving of the self-gravitating gas dynamics problem based on hybrid OpenMP-CUDA parallel programming model has been described in detail. The gas-dynamic forces are calculated by the modified SPH-method (Smoothed Particle Hydrodynamics) while the N-body problem gravitational interaction is obtained by the direct method (so-called Particle-Particle algorithm). The key factor in the SPH-method performance is creation of the neighbor lists of the particles which contribute into the gas-dynamic forces calculation. Our implementation is based on hierarchical grid sorting method using a cascading algorithm for parallel computations of partial sums at CUDA block. The parallelization efficiency of the algorithm for various GPUs of the Nvidia Tesla line (K20, K40, K80) is studied in the framework of galactic' gaseous halos collisions models by the SPH-method.

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

↑