Back to Search
Start Over
Cross-Platform GPU-Based Implementation of Lattice Boltzmann Method Solver Using ArrayFire Library.
- Source :
-
Mathematics (2227-7390) . Aug2021, Vol. 9 Issue 15, p1793-1793. 1p. - Publication Year :
- 2021
-
Abstract
- This paper deals with the design and implementation of cross-platform, D2Q9-BGK and D3Q27-MRT, lattice Boltzmann method solver for 2D and 3D flows developed with ArrayFire library for high-performance computing. The solver leverages ArrayFire's just-in-time compilation engine for compiling high-level code into optimized kernels for both CUDA and OpenCL GPU backends. We also provide C++ and Rust implementations and show that it is possible to produce fast cross-platform lattice Boltzmann method simulations with minimal code, effectively less than 90 lines of code. An illustrative benchmarks (lid-driven cavity and Kármán vortex street) for single and double precision floating-point simulations on 4 different GPUs are provided. Data Set License: MIT [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 22277390
- Volume :
- 9
- Issue :
- 15
- Database :
- Academic Search Index
- Journal :
- Mathematics (2227-7390)
- Publication Type :
- Academic Journal
- Accession number :
- 151786200
- Full Text :
- https://doi.org/10.3390/math9151793