浏览代码

src: partially revert 17654: Functions starpu_task_wait_for_all_in_ctx() and starpu_task_wait_for_all() always return 0

Nathalie Furmento 9 年之前
父节点
当前提交
6c21ad3a5c
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      doc/doxygen/chapters/api/codelet_and_tasks.doxy

+ 2 - 3
doc/doxygen/chapters/api/codelet_and_tasks.doxy

@@ -808,14 +808,13 @@ created automatically by StarPU.
 \ingroup API_Codelet_And_Tasks
 \ingroup API_Codelet_And_Tasks
 This function blocks until all the tasks that were submitted (to the
 This function blocks until all the tasks that were submitted (to the
 current context or the global one if there aren't any) are terminated.
 current context or the global one if there aren't any) are terminated.
-It does not destroy these tasks. It returns the number of tasks that
-have been waited for.
+It does not destroy these tasks.
 
 
 \fn int starpu_task_wait_for_all_in_ctx(unsigned sched_ctx_id)
 \fn int starpu_task_wait_for_all_in_ctx(unsigned sched_ctx_id)
 \ingroup API_Codelet_And_Tasks
 \ingroup API_Codelet_And_Tasks
 This function waits until all the tasks
 This function waits until all the tasks
 that were already submitted to the context \p sched_ctx_id have been
 that were already submitted to the context \p sched_ctx_id have been
-executed. It returns the number of tasks that have been waited for.
+executed.
 
 
 \fn int starpu_task_wait_for_n_submitted(unsigned n)
 \fn int starpu_task_wait_for_n_submitted(unsigned n)
 \ingroup API_Codelet_And_Tasks
 \ingroup API_Codelet_And_Tasks