Explorar o código

workers: add debug

Nathalie Furmento %!s(int64=14) %!d(string=hai) anos
pai
achega
d7c9cdbfa8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/workers.c

+ 2 - 0
src/core/workers.c

@@ -162,6 +162,8 @@ static void _starpu_launch_drivers(struct starpu_machine_config_s *config)
 	
 		workerarg->status = STATUS_INITIALIZING;
 
+		_STARPU_DEBUG("initialising worker %d\n", worker);
+
 		_starpu_init_worker_queue(workerarg);
 
 		switch (workerarg->arch) {