Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rkv0id/boltzmanumba

GPU-Parallelization of a sequential Lattice Boltzmann gist on CUDA-capable devices using Numba.
https://github.com/rkv0id/boltzmanumba

cuda lbm numba

Last synced: 28 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](http://numba.pydata.org).

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.