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

Sailfish:格子玻尔兹曼方法的灵活多GPU实现

Sailfish: a flexible multi-GPU implementation of the lattice Boltzmann method

Michal Januszewski, Marcin Kostur

摘要:

我们提出了Sailfish,一个开源的流体模拟软件包,使用CUDA/OpenCL在现代图形处理器(GPU)上实现了格子玻尔兹曼方法(LBM)。我们采用一种新颖的方法来实现GPU代码,并使用运行时代码生成技术和高级编程语言(Python)来实现最先进的性能,同时允许轻松地对不同的LBM模型进行实验并针对各种类型的硬件进行调整。我们讨论了代码的一般设计原则,在分布式环境中扩展到多个GPU,以及许多不同LBM模型的GPU实现和优化,包括单组件(BGK,MRT,ELBM)和多组件(Shan-Chen,自由能)。本文还介绍了过去三代NVIDIA GPU(Tesla,Fermi,Kepler)的性能基准测试结果,我们希望这些结果对使用此类硬件和类似代码的研究人员有用。

英文摘要:

We present Sailfish, an open source fluid simulation package implementing the lattice Boltzmann method (LBM) on modern Graphics Processing Units (GPUs) using CUDA/OpenCL. We take a novel approach to GPU code implementation and use run-time code generation techniques and a high level programming language (Python) to achieve state of the art performance, while allowing easy experimentation with different LBM models and tuning for various types of hardware. We discuss the general design principles of the code, scaling to multiple GPUs in a distributed environment, as well as the GPU implementation and optimization of many different LBM models, both single component (BGK, MRT, ELBM) and multicomponent (Shan-Chen, free energy). The paper also presents results of performance benchmarks spanning the last three NVIDIA GPU generations (Tesla, Fermi, Kepler), which we hope will be useful for researchers working with this type of hardware and similar codes.

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

↑