Repository navigation
How to make simulation work with SofaCUDA? #3207
|
Hi! |
Replies: 1 comment 2 replies
|
Hi @TeoREN0217 CUDA version of simulation is not trivial. SofaCUDA is a SOFA plugin containing GPU implementations of certain codes of SOFA. But unfortunately not all of them. Unfortunately, because, what makes a GPU computation efficient is when all the simulation is run on the GPU without data exchange between CPU and GPU. Performance can be same or even worth if the GPU is not properly exploited. Before moving towards GPU, maybe a first step is to list of the required components you need having a GPU version. |
Hi @TeoREN0217
CUDA version of simulation is not trivial.
Have you already read the article about SofaCUDA in the doc?
SofaCUDA is a SOFA plugin containing GPU implementations of certain codes of SOFA. But unfortunately not all of them. Unfortunately, because, what makes a GPU computation efficient is when all the simulation is run on the GPU without data exchange between CPU and GPU. Performance can be same or even worth if the GPU is not properly exploited.
Before moving towards GPU, maybe a first step is to list of the required components you need having a GPU version.
The BarycentricMapping and the SubsetMultiMapping (only since #2557 for the latter) are available in the SofaCUDA plugin.