ソースを参照

Heft: make sure that scheduled tasks are removed from their bundle.

Cyril Roelandt 12 年 前
コミット
dea73a9872
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      src/sched_policies/heft.c

+ 3 - 0
src/sched_policies/heft.c

@@ -438,6 +438,9 @@ static int _heft_push_task(struct starpu_task *task, unsigned prio)
 			task->priority = 0;
 		}
 
+		if (task->bundle)
+			starpu_task_bundle_remove(task->bundle, task);
+
 		return push_task_on_best_worker(task, forced_worker, 0.0, 0.0);
 	}