Skip to content

GPU-Parallelization of a sequential Lattice Boltzmann gist on CUDA-capable devices using Numba.

Notifications You must be signed in to change notification settings

rkv0id/boltzmanumba

Repository files navigation

boltzmanumba

Parallelization of a sequential Lattice Boltzmann code picked up from a random GitHub gist.

LBM is a simulation technique for complex fluid systems. It is known to be so performance greedy while also being an embarassingly parallel algorithm. This repo is a basic attempt of distributing the LBM algorithm on a CUDA-able GPU using the Numba API.

The lattice_gpu_naive.py file contains a naive parallelization of the code while the lattice_gpu_opt.py file contains a memory-usage-optimized code for the same algorithm.

The notebook provided within this repository contains a benchmarking of the GPU/CPU acceleration.

About

GPU-Parallelization of a sequential Lattice Boltzmann gist on CUDA-capable devices using Numba.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages