瀏覽代碼

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)