Skip to content

Commit

Permalink
Merge pull request #28 from loliverhennigh/backend_exposure
Browse files Browse the repository at this point in the history
xlb refactor
  • Loading branch information
mehdiataei authored Dec 15, 2023
2 parents 2d6b799 + b3acb4a commit 034ee36
Show file tree
Hide file tree
Showing 54 changed files with 4,734 additions and 1,813 deletions.
14 changes: 14 additions & 0 deletions examples/backend_comparisons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Performance Comparisons

This directory contains a minimal LBM implementation in Warp, Numba, and Jax. The
code can be run with the following command:

```bash
python3 lattice_boltzmann.py
```

This will give MLUPs numbers for each implementation. The Warp implementation
is the fastest, followed by Numba, and then Jax.

This example should be used as a test for properly implementing more backends in
XLB.
Loading

0 comments on commit 034ee36

Please sign in to comment.