Przeglądaj źródła

doc: add void starpu_codelet_init()

Nathalie Furmento 13 lat temu
rodzic
commit
b26ef3c701
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      doc/chapters/basic-api.texi

+ 6 - 0
doc/chapters/basic-api.texi

@@ -1198,6 +1198,12 @@ worker size that StarPU will use to execute parallel tasks for this codelet.
 @end table
 @end deftp
 
+@deftypefun void starpu_codelet_init ({struct starpu_codelet} *@var{cl})
+Initialize @var{cl} with default values. Codelets should preferably be
+initialized statically as shown in @ref{Defining a Codelet}. However
+such a initialisation is not always possible, e.g. when using C++.
+@end deftypefun
+
 @deftp {Data Type} {enum starpu_task_status}
 todo
 @end deftp