Prechádzať zdrojové kódy

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

Nathalie Furmento 11 rokov pred
rodič
commit
ea5f095eb9
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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);