Explorar o código

Label the CUDA driver just 'CUDA' one using just one thread

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
384397546c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -714,7 +714,7 @@ static void _starpu_launch_drivers(struct _starpu_machine_config *pconfig)
 
 
 				STARPU_PTHREAD_CREATE_ON(
-					workerarg->name,
+					conf->topology.cuda_th_per_dev ? "CUDA" : workerarg->name,
 					&worker_set->worker_thread,
 					NULL,
 					_starpu_cuda_worker,