Forráskód Böngészése

tests/main/starpu_worker_exists.c: set sched_ctx to 0 before calling _starpu_worker_exists()

Nathalie Furmento 11 éve
szülő
commit
ea5f095eb9
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      tests/main/starpu_worker_exists.c

+ 1 - 0
tests/main/starpu_worker_exists.c

@@ -67,6 +67,7 @@ main(int argc, char **argv)
 	task = starpu_task_create();
 	task->cl = &cl;
 	task->destroy = 0;
+	task->sched_ctx = 0;
 
 	cl.can_execute = NULL;
 	ret = _starpu_worker_exists(task);