Sfoglia il codice sorgente

Fix some task fields when retrying a task

Samuel Thibault 5 anni fa
parent
commit
29f7c0fba5
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/core/task.c

+ 2 - 0
src/core/task.c

@@ -1394,6 +1394,8 @@ struct starpu_task *starpu_task_ft_create_retry
 	new_task->regenerate = 0;
 	new_task->regenerate = 0;
 	new_task->no_submitorder = 1;
 	new_task->no_submitorder = 1;
 	new_task->failed = 0;
 	new_task->failed = 0;
+	new_task->scheduled = 0;
+	new_task->prefetched = 0;
 	new_task->status = STARPU_TASK_INVALID;
 	new_task->status = STARPU_TASK_INVALID;
 	new_task->profiling_info = NULL;
 	new_task->profiling_info = NULL;
 	new_task->prev = NULL;
 	new_task->prev = NULL;