erizmr / SPH_Taichi

A high-performance implementation of SPH in Taichi.
MIT License
201 stars 40 forks source link

Add option for disable GPU prefix sum #8

Open erizmr opened 2 years ago

erizmr commented 2 years ago

The current implementation of neighborhood relies on cuda prefix sum, which prevents the program running on CPU. There should be an option to disable the GPU only prefix sum.