소스 검색

Document STARPU_TASK_INITIALIZER

Cédric Augonnet 16 년 전
부모
커밋
d99af315c6
1개의 변경된 파일과 2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      doc/starpu.texi

+ 2 - 1
doc/starpu.texi

@@ -839,7 +839,8 @@ result in undefined behaviour.
 Initialize a task structure with default values. This function is implicitely
 called by @code{starpu_task_create}. By default, tasks initialized with
 @code{starpu_task_init} must be deinitialized explicitely with
-@code{starpu_task_deinit}.
+@code{starpu_task_deinit}. Tasks can also be initialized statically, using the
+constant @code{STARPU_TASK_INITIALIZER}.
 @item @emph{Prototype}:
 @code{void starpu_task_init(struct starpu_task *task);}
 @end table