Browse Source

doc: add missing functions

Nathalie Furmento 13 years ago
parent
commit
faf5ccf87f
1 changed files with 12 additions and 0 deletions
  1. 12 0
      doc/chapters/advanced-examples.texi

+ 12 - 0
doc/chapters/advanced-examples.texi

@@ -482,6 +482,18 @@ through the type @code{STARPU_VALUE}. The function
 implementation to retrieve them.
 @end deftypefun
 
+@deftypefun void starpu_codelet_pack_args ({char **}arg_buffer, {size_t *}arg_buffer_size, ...)
+Pack arguments of type @code{STARPU_VALUE} into a buffer which can be
+given to a codelet and later unpacked with the function
+@code{starpu_codelet_unpack_args} defined below.
+@end deftypefun
+
+@deftypefun void starpu_codelet_unpack_args ({void *}cl_arg, ...)
+Retrieve the arguments of type @code{STARPU_VALUE} associated to a
+task automatically created using the function
+@code{starpu_insert_task} defined above.
+@end deftypefun
+
 Here the implementation of the codelet:
 
 @smallexample