Porting WaterLily.jl into a backend-agnostic solver - Bernat Font
WaterLily.jl is a simple and fast fluid simulator written in pure Julia. It solves the unsteady incompressible 2D or 3D Navier-Stokes equations on a Cartesia...
WaterLily.jl is a simple and fast fluid simulator written in pure Julia. It solves the unsteady incompressible 2D or 3D Navier-Stokes equations on a Cartesian grid. The pressure Poisson equation is solved with a geometric multigrid method. Solid boundaries are modelled using the Boundary Data Immersion Method. v1.0 has ported the solver from a serial CPU execution to a backend-agnostic execution including multi-threaded CPU and GPU from different vendors (NVIDIA and AMD) thanks to KernelAbstractions.jl (KA). We have also recently published an extended abstract preprint with benchmarking…
related reading
- KernelBench: Can LLMs Write GPU Kernels?scalingintelligence.stanford.edu
- How to Land a Frontier Lab Jobvladfeinberg.com
- How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance: a Worklogsiboehm.com
- Look Ma, No Bubbles! Designing a Low-Latency Megakernel for Llama-1B · Hazy Researchhazyresearch.stanford.edu
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- Retire the Abstractionshazyresearch.stanford.edu
- Modern GPU Programming For MLSys — Modern GPU Programming For MLSysmlc.ai
- Inside NVIDIA GPUs: Anatomy of high performance matmul kernels - Aleksa Gordićaleksagordic.com
- irving2006_rle.pdfnaml.us
- KernelBench v0.1 | Scaling Intelligence Lab at Stanford Universityscalingintelligence.stanford.edu
- [2410.20399] ThunderKittens: Simple, Fast, and Adorable AI Kernelsarxiv.org
- ⭐️ Fast LLM Inference From Scratchandrewkchan.dev