Browse Source

fix initialization with simgrid

Samuel Thibault 8 years ago
parent
commit
369a036f3a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -1260,7 +1260,7 @@ int starpu_initialize(struct starpu_conf *user_conf, int *argc, char ***argv)
 
 	_starpu_initialize_registered_performance_models();
 
-#if defined(STARPU_USE_CUDA)
+#if defined(STARPU_USE_CUDA) || defined(STARPU_SIMGRID)
 	_starpu_cuda_init();
 #endif
 	/* Launch "basic" workers (ie. non-combined workers) */