ソースを参照

TODO: use a heap to manage local_ordered_tasks

Samuel Thibault 11 年 前
コミット
74576df8fb
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1 0
      src/core/jobs.c

+ 1 - 0
src/core/jobs.c

@@ -463,6 +463,7 @@ unsigned _starpu_enforce_deps_starting_from_task(struct _starpu_job *j)
 
 /* Ordered tasks are simply recorded as they arrive in the local_ordered_tasks
  * ring buffer, indexed by order, and pulled from its head. */
+/* TODO: replace with perhaps a heap */
 
 /* This function must be called with worker->sched_mutex taken */
 struct starpu_task *_starpu_pop_local_task(struct _starpu_worker *worker)