Browse Source

Fix prefetched state of restarted tasks

Samuel Thibault 5 years ago
parent
commit
f4ecb58eb4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/task.c

+ 1 - 0
src/core/task.c

@@ -740,6 +740,7 @@ static int _starpu_task_submit_head(struct starpu_task *task)
 		task->status = STARPU_TASK_INVALID;
 	else
 		STARPU_ASSERT(task->status == STARPU_TASK_INVALID);
+	task->prefetched = 0;
 
 	if (j->internal)
 	{