SMU Guildhall Graduate Catalog — 2024 Cohort 32 | Page 70

«

Shrey Sangwan
Software Development
Performance Dynamics in 2D Fluid Simulation : A Comparative Study of SPH on CPU and GPU
The focus of my thesis was to create a particle system in which particles move dynamically to simulate how fluid flows in 2D on both CPU ( single and multithreaded ) and on the GPU . It includes different rendering modes like vertex coloring based on particle density and a cartoony look using signed distance fields . The artifact also shows how the simulation looks when fluid particles interact with the environment .
I chose this project because I was interested in learning how to simulate a physics-based particle simulation and how to run things on the GPU , and because I love fluids . I was also interested in getting the performance metrics comparison of both the simulation modes . So , I chose to combine it all .
This project took approximately 302 hours to complete . In developing the system , I gained a solid understanding of the standard rendering pipeline , learned how compute shaders can be used for general purpose computing on the GPU and gained insights into various concepts related to multi-threading on the CPU . I also acquired skills in optimizing code and profiling performance using tools like Nvidia Nsight , RenderDoc and Tracy profiler .
70 SOFTWARE DEVELOPMENT