Multiple GPU Fluid Simulation

This was the final project for my CS240A - Applied Parallel Computing course (taught by Prof. John R. Gilbert).


We implemented a Multiple GPU fluid simulation program that runs on Triton or Lonestar machines. We parallelized the Smooth Particle Hydrodynamics algorithm first with a single GPU and then with multiple GPUs. The program is written in CUDA and MPI.

Source Code


If you are interested in this implementation, please read our final project report here:


Dam-break: 4 GPUs, 8,000,000 particles, 3000 frames (in-progress), 1000ms/frame simulation, 4000ms/frame rendering.