Sfoglia il codice sorgente

Fix prefetched state of restarted tasks

Samuel Thibault 5 anni fa
parent
commit
f4ecb58eb4
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)
 	{