vcg-uvic / viper

Open-source code for VIPER -- Volume Invariant Position-based Elastic Rods
Apache License 2.0
903 stars 105 forks source link

Is cuda/any gpu needed #10

Open Rhysjosmin opened 3 years ago

Rhysjosmin commented 3 years ago

Do i need to have cuda or any other gpu to run this or can i do it only with a cpu?

drebain commented 3 years ago

Yes, the solver implementation here is set up to require CUDA, as the simulation would probably not be real-time on a CPU. That said, the code uses Thrust to launch the GPU kernels, and could probably be modified to run on CPU.