Skip to content

Commit

Permalink
xlb refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
loliverhennigh committed Dec 15, 2023
1 parent 2d6b799 commit b3acb4a
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 b3acb4a

Please sign in to comment.