Samuel Thibault hace 8 años
padre
commit
4d5c8fca14
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/core/workers.c

+ 2 - 0
src/core/workers.c

@@ -628,7 +628,9 @@ static void _starpu_launch_drivers(struct _starpu_machine_config *pconfig)
 #endif
 	STARPU_AYU_INIT();
 
+#if defined(STARPU_USE_CUDA) || defined(STARPU_SIMGRID)
 	unsigned th_per_stream = starpu_get_env_number_default("STARPU_ONE_THREAD_PER_STREAM", 0);
+#endif
 
 	for (worker = 0; worker < nworkers; worker++)
 	{