Skip to content

Commit

Permalink
Initialize SofaCUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Jan 23, 2024
1 parent ab277b7 commit fef99a7
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 fef99a7

Please sign in to comment.