|
@@ -1726,7 +1726,9 @@ _starpu_init_workers_binding (struct _starpu_machine_config *config, int no_mp_c
|
|
|
unsigned cuda_init[STARPU_MAXCUDADEVS] = { };
|
|
|
unsigned cuda_memory_nodes[STARPU_MAXCUDADEVS];
|
|
|
unsigned cuda_bindid[STARPU_MAXCUDADEVS];
|
|
|
+# ifndef STARPU_SIMGRID
|
|
|
unsigned th_per_stream = starpu_get_env_number_default("STARPU_CUDA_THREAD_PER_WORKER", 0);
|
|
|
+# endif
|
|
|
#endif
|
|
|
#if defined(STARPU_USE_OPENCL) || defined(STARPU_SIMGRID)
|
|
|
unsigned opencl_init[STARPU_MAXOPENCLDEVS] = { };
|