Data-Oriented Language Implementation of the Lattice-Boltzmann Method for Dense and Sparse Geometries

被引:0
|
作者
Tomczak, Tadeusz [1 ]
机构
[1] Wroclaw Univ Sci & Technol, Dept Comp Engn, PL-50370 Wroclaw, Poland
来源
APPLIED SCIENCES-BASEL | 2021年 / 11卷 / 20期
关键词
parallel programming; CUDA; GPU; LBM; GPU IMPLEMENTATION; SIMULATIONS; TRANSPORT; SOLVER; FLOW;
D O I
10.3390/app11209495
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The performance of lattice-Boltzmann solver implementations usually depends mainly on memory access patterns. Achieving high performance requires then complex code which handles careful data placement and ordering of memory transactions. In this work, we analyse the performance of an implementation based on a new approach called the data-oriented language, which allows the combination of complex memory access patterns with simple source code. As a use case, we present and provide the source code of a solver for D2Q9 lattice and show its performance on GTX Titan Xp GPU for dense and sparse geometries up to 40962 nodes. The obtained results are promising, around 1000 lines of code allowed us to achieve performance in the range of 0.6 to 0.7 of maximum theoretical memory bandwidth (over 2.5 and 5.0 GLUPS for double and single precision, respectively) for meshes of sizes above 10242 nodes, which is close to the current state-of-the-art. However, we also observed relatively high and sometimes difficult to predict overheads, especially for sparse data structures. The additional issue was also a rather long compilation, which extended the time of short simulations, and a lack of access to low-level optimisation mechanisms.</p>
引用
收藏
页数:19
相关论文
共 50 条
  • [1] A new GPU implementation for lattice-Boltzmann simulations on sparse geometries
    Tomczak, Tadeusz
    Szafran, Roman G.
    COMPUTER PHYSICS COMMUNICATIONS, 2019, 235 : 258 - 278
  • [2] Sparse Geometries Handling in Lattice Boltzmann Method Implementation for Graphic Processors
    Tomczak, Tadeusz
    Szafran, Roman G.
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2018, 29 (08) : 1865 - 1878
  • [3] Accuracy of the lattice-Boltzmann method
    Maier, RS
    Bernard, RS
    INTERNATIONAL JOURNAL OF MODERN PHYSICS C, 1997, 8 (04): : 747 - 752
  • [4] VALIDATION OF AN ADAPTIVE MESHING IMPLEMENTATION OF THE LATTICE-BOLTZMANN METHOD FOR INSECT FLIGHT
    Feaster, Jeffrey
    Battaglia, Francine
    Deiterding, Ralf
    Bayandor, Javid
    PROCEEDINGS OF THE ASME FLUIDS ENGINEERING DIVISION SUMMER MEETING, 2016, VOL 1A, 2016,
  • [5] A dynamic boundary model for implementation of boundary conditions in lattice-Boltzmann method
    Kang, Jinfen
    Kang, Sangmo
    Suh, Yong Kweon
    JOURNAL OF MECHANICAL SCIENCE AND TECHNOLOGY, 2008, 22 (06) : 1192 - 1201
  • [6] A dynamic boundary model for implementation of boundary conditions in lattice-Boltzmann method
    Jinfen Kang
    Sangmo Kang
    Yong Kweon Suh
    Journal of Mechanical Science and Technology, 2008, 22 : 1192 - 1201
  • [7] Data-oriented language processing
    Bod, R
    Scha, R
    CORPUS-BASED METHODS IN LANGUAGE AND SPEECH PROCESSING, 1997, 2 : 137 - 173
  • [8] Comparison of implementations of the lattice-Boltzmann method
    Mattila, Keijo
    Hyvaeluoma, Jari
    Timonen, Jussi
    Rossi, Tuomo
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2008, 55 (07) : 1514 - 1524
  • [9] Lattice-Boltzmann Method for Complex Flows
    Aidun, Cyrus K.
    Clausen, Jonathan R.
    ANNUAL REVIEW OF FLUID MECHANICS, 2010, 42 : 439 - 472
  • [10] A Data-Oriented Model of Literary Language
    van Cranenburgh, Andreas
    Bod, Rens
    15TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EACL 2017), VOL 1: LONG PAPERS, 2017, : 1228 - 1238