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

GPGPU上的Lattice Boltzmann方法的性能工程:架构要求和性能结果

Performance engineering for the Lattice Boltzmann method on GPGPUs: Architectural requirements and performance results

Johannes Habich, Christian Feichtinger, Harald Köstler, Georg Hager, Gerhard Wellein

摘要:

GPU提供的浮点性能和内存带宽是当前标准双插槽CPU服务器的数倍,例如NVIDIA C2070与Intel Xeon Westmere X5650。格子玻尔兹曼方法近年来已被确立为流求解器,并且是第一个成功移植的流求解器之一,并且在GPU上表现良好。我们展示了基于NVIDIA CUDA和OpenCL的GPU和CPU的D3Q19格子Boltzmann不可压缩流求解器的高级优化策略。由于所实现的算法是有限的内存带宽,我们专注于提高内存访问。最佳数据访问的基本数据布局问题进行了解释和讨论。此外,算法步骤被重新安排以改善GPU存储器的分散访问。占用的重要性进行了讨论,以及优化策略,以提高整体并发性。我们得到了一个优化良好的GPU内核,它被集成到一个更大的框架中,可以处理单相流体流动模拟以及颗粒负载的流动。我们的3D LBM GPU实现在NVIDIA Tesla C2070上达到了高达650 MLUPS的单精度的和290 MLUPS的双精度的。

英文摘要:

GPUs offer several times the floating point performance and memory bandwidth of current standard two socket CPU servers, e.g. NVIDIA C2070 vs. Intel Xeon Westmere X5650. The lattice Boltzmann method has been established as a flow solver in recent years and was one of the first flow solvers to be successfully ported and that performs well on GPUs. We demonstrate advanced optimization strategies for a D3Q19 lattice Boltzmann based incompressible flow solver for GPGPUs and CPUs based on NVIDIA CUDA and OpenCL. Since the implemented algorithm is limited by memory bandwidth, we concentrate on improving memory access. Basic data layout issues for optimal data access are explained and discussed. Furthermore, the algorithmic steps are rearranged to improve scattered access of the GPU memory. The importance of occupancy is discussed as well as optimization strategies to improve overall concurrency. We arrive at a well-optimized GPU kernel, which is integrated into a larger framework that can handle single phase fluid flow simulations as well as particle-laden flows. Our 3D LBM GPU implementation reaches up to 650 MLUPS in single precision and 290 MLUPS in double precision on an NVIDIA Tesla C2070.

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

↑