Sfoglia il codice sorgente

merge trunk@9459: doc/chapters/api.texi: add missing documentation

Nathalie Furmento 13 anni fa
parent
commit
432b9ac2ca
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      doc/chapters/api.texi

+ 12 - 0
doc/chapters/api.texi

@@ -3467,9 +3467,21 @@ owner if needed. At least the target node and the owner have to call the
 function.
 function.
 @end deftypefun
 @end deftypefun
 
 
+@deftypefun void starpu_mpi_get_data_on_node_detached (MPI_Comm @var{comm}, starpu_data_handle_t @var{data_handle}, int @var{node}, {void (*}@var{callback})(void*), {void *}@var{arg})
+Transfer data @var{data_handle} to MPI node @var{node}, sending it from its
+owner if needed. At least the target node and the owner have to call the
+function. On reception, the @var{callback} function is called with the
+argument @var{arg}.
+@end deftypefun
+
 @node Collective Operations
 @node Collective Operations
 @subsection Collective Operations
 @subsection Collective Operations
 
 
+@deftypefun void starpu_mpi_redux_data (MPI_Comm @var{comm}, starpu_data_handle_t @var{data_handle})
+Perform a reduction on the given data. All nodes send the data to its
+owner node which will perform a reduction.
+@end deftypefun
+
 @deftypefun int starpu_mpi_scatter_detached (starpu_data_handle_t *@var{data_handles}, int @var{count}, int @var{root}, MPI_Comm @var{comm}, {void (*}@var{scallback})(void *), {void *}@var{sarg}, {void (*}@var{rcallback})(void *), {void *}@var{rarg})
 @deftypefun int starpu_mpi_scatter_detached (starpu_data_handle_t *@var{data_handles}, int @var{count}, int @var{root}, MPI_Comm @var{comm}, {void (*}@var{scallback})(void *), {void *}@var{sarg}, {void (*}@var{rcallback})(void *), {void *}@var{rarg})
 Scatter data among processes of the communicator based on the ownership of
 Scatter data among processes of the communicator based on the ownership of
 the data. For each data of the array @var{data_handles}, the
 the data. For each data of the array @var{data_handles}, the