Ver código fonte

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

Nathalie Furmento 11 anos atrás
pai
commit
ea5f095eb9
1 arquivos alterados com 1 adições e 0 exclusões
  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);