瀏覽代碼

Document that the regenerate flag must be set before adding task dependencies

Samuel Thibault 10 年之前
父節點
當前提交
117fa2424c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      doc/doxygen/chapters/api/codelet_and_tasks.doxy

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

@@ -585,7 +585,8 @@ will not free any task.
 \var unsigned starpu_task::regenerate
 Optional field. If this flag is set, the task will be re-submitted to
 StarPU once it has been executed. This flag must not be set if the
-flag starpu_task::destroy is set.
+flag starpu_task::destroy is set. This flag must be set before making another
+task depend on this one.
 
 \var enum starpu_task_status starpu_task::status
 Optional field. Current state of the task.