Skip to content

Commit

Permalink
Initialize SofaCUDA (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored Feb 8, 2024
1 parent 6e06e88 commit c5b3b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/CUDA/src/SoftRobots/CUDA/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* Contact information: https://project.inria.fr/softrobot/contact/ *
******************************************************************************/
#include <SoftRobots/CUDA/init.h>
#include <SofaCUDA/init.h>
#include <sofa/core/ObjectFactory.h>
namespace softrobots::cuda
{
Expand Down Expand Up @@ -57,6 +58,7 @@ void init()
static bool first = true;
if (first)
{
sofa::gpu::cuda::init();
first = false;
}
}
Expand Down

0 comments on commit c5b3b37

Please sign in to comment.