按年被提到
20202021 · 1 次2026
系统、数据库与网络›计算机体系结构与硬件·arXiv:2010.11751 · physics.comp-ph

Cross-platform programming model for many-core lattice Boltzmann simulations

Jonas Latt, Christophe Coreixas, Joël Beny · 2020
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 2 人首次 2021-11-16 · 最近 2022-05-16
2不同的人
2活跃月份
2讨论串
45被引(OpenAlex)
arXiv 摘要(候选层不写导读)

We present a novel, hardware-agnostic implementation strategy for lattice Boltzmann (LB) simulations, which yields massive performance on homogeneous and heterogeneous many-core platforms. Based solely on C++17 Parallel Algorithms, our approach does not rely on any language extensions, external libraries, vendor-specific code annotations, or pre-compilation steps. Thanks in particular to a recently proposed GPU back-end to C++17 Parallel Algorithms, it is shown that a single code can compile and reach state-of-the-art performance on both many-core CPU and GPU environments for the solution of a given non trivial fluid dynamics problem. The proposed strategy is tested with six different, commonly used implementation schemes to test the performance impact of memory access patterns on different platforms. Nine different LB collision models are included in the tests and exhibit good performance, demonstrating the versatility of our parallel approach. This work shows that it is less than ever necessary to draw a distinction between research and production software, as a concise and generic LB implementation yields performances comparable to those achievable in a hardware specific programming language. The results also highlight the gains of performance achieved by modern many-core CPUs and their apparent capability to narrow the gap with the traditionally massively faster GPU platforms. All code is made available to the community in form of the open-source project "stlbm", which serves both as a stand-alone simulation software and as a collection of reusable patterns for the acceleration of pre-existing LB codes.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
评论volta83 · 2021-11

“This paper ported a CFD application, which had a tuned CUDA implementation, to std::par: https://arxiv.org/pdf/2010.11751.pdf. In Table 3, first and last columns shows the performance of CUDA and std::par in % of theoretical peak. The rows show results for different GPU architectures. On V100, CUDA achieves 62% theoretical peak and std::par 58%. The …”

Blender 3.0 takes support for AMD GPUs to the next level原评论 ↗
评论maxwell86 · 2022-05

“> I severely doubt that std::for_each_n exists on GPU code. https://docs.nvidia.com/hpc-sdk/compilers/c++-parallel-algorithms/index.html This is 4 years old. Been using it in production for the last 2 years. Works fine. Pretty much everyone I've talked to using this in production from other research groups was able to remove all their CUDA code and rep…”

What is parallelism, anyhow? (2009)原评论 ↗