From c5b3b379d947a9927c447de49c8ac328ed53cd33 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Thu, 8 Feb 2024 13:54:52 +0100 Subject: [PATCH] Initialize SofaCUDA (#260) --- extensions/CUDA/src/SoftRobots/CUDA/init.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/CUDA/src/SoftRobots/CUDA/init.cpp b/extensions/CUDA/src/SoftRobots/CUDA/init.cpp index 933d4c9f..3ffa8512 100644 --- a/extensions/CUDA/src/SoftRobots/CUDA/init.cpp +++ b/extensions/CUDA/src/SoftRobots/CUDA/init.cpp @@ -26,6 +26,7 @@ * Contact information: https://project.inria.fr/softrobot/contact/ * ******************************************************************************/ #include +#include #include namespace softrobots::cuda { @@ -57,6 +58,7 @@ void init() static bool first = true; if (first) { + sofa::gpu::cuda::init(); first = false; } }