|
@@ -30,6 +30,14 @@ according to the task graph and an application-provided distribution.
|
|
@node The API
|
|
@node The API
|
|
@section The API
|
|
@section The API
|
|
|
|
|
|
|
|
+@menu
|
|
|
|
+* Compilation::
|
|
|
|
+* Initialisation::
|
|
|
|
+* Communication::
|
|
|
|
+* Communication cache::
|
|
|
|
+@end menu
|
|
|
|
+
|
|
|
|
+@node Compilation
|
|
@subsection Compilation
|
|
@subsection Compilation
|
|
|
|
|
|
The flags required to compile or link against the MPI layer are then
|
|
The flags required to compile or link against the MPI layer are then
|
|
@@ -42,6 +50,7 @@ accessible with the following commands:
|
|
|
|
|
|
Also pass the @code{--static} option if the application is to be linked statically.
|
|
Also pass the @code{--static} option if the application is to be linked statically.
|
|
|
|
|
|
|
|
+@node Initialisation
|
|
@subsection Initialisation
|
|
@subsection Initialisation
|
|
|
|
|
|
@deftypefun int starpu_mpi_init (int *@var{argc}, char ***@var{argv}, int initialize_mpi)
|
|
@deftypefun int starpu_mpi_init (int *@var{argc}, char ***@var{argv}, int initialize_mpi)
|
|
@@ -78,6 +87,7 @@ to the world size. Communications statistics must be enabled
|
|
(@pxref{STARPU_COMM_STATS}).
|
|
(@pxref{STARPU_COMM_STATS}).
|
|
@end deftypefun
|
|
@end deftypefun
|
|
|
|
|
|
|
|
+@node Communication
|
|
@subsection Communication
|
|
@subsection Communication
|
|
|
|
|
|
The standard point to point communications of MPI have been
|
|
The standard point to point communications of MPI have been
|
|
@@ -170,6 +180,22 @@ node of the array @var{source} using the n-th message tag of the array
|
|
On completion of the all the requests, @var{tag} is unlocked.
|
|
On completion of the all the requests, @var{tag} is unlocked.
|
|
@end deftypefun
|
|
@end deftypefun
|
|
|
|
|
|
|
|
+@node Communication cache
|
|
|
|
+@subsection Communication cache
|
|
|
|
+
|
|
|
|
+@deftypefun void starpu_mpi_cache_flush (MPI_Comm @var{comm}, starpu_data_handle_t @var{data_handle})
|
|
|
|
+Clear the send and receive communication cache for the data
|
|
|
|
+@var{data_handle}. The function has to be called synchronously by all
|
|
|
|
+the MPI nodes.
|
|
|
|
+The function does nothing if the cache mechanism is disabled (@pxref{STARPU_MPI_CACHE}).
|
|
|
|
+@end deftypefun
|
|
|
|
+
|
|
|
|
+@deftypefun void starpu_mpi_cache_flush_all_data (MPI_Comm @var{comm})
|
|
|
|
+Clear the send and receive communication cache for all data. The
|
|
|
|
+function has to be called synchronously by all the MPI nodes.
|
|
|
|
+The function does nothing if the cache mechanism is disabled (@pxref{STARPU_MPI_CACHE}).
|
|
|
|
+@end deftypefun
|
|
|
|
+
|
|
@page
|
|
@page
|
|
@node Simple Example
|
|
@node Simple Example
|
|
@section Simple Example
|
|
@section Simple Example
|