|
|
@@ -1,8 +1,8 @@
|
|
|
/*
|
|
|
* This file is part of the StarPU Handbook.
|
|
|
* Copyright (C) 2009--2011 Universit@'e de Bordeaux
|
|
|
- * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015 CNRS
|
|
|
- * Copyright (C) 2011, 2012 INRIA
|
|
|
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015 Centre National de la Recherche Scientifique
|
|
|
+ * Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
|
|
|
* See the file version.doxy for copying conditions.
|
|
|
*/
|
|
|
|
|
|
@@ -130,7 +130,7 @@ Performs a synchronous-mode, non-blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p mpi_tag within the communicator \p
|
|
|
comm.
|
|
|
|
|
|
-\fn int starpu_mpi_issend_detached(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int mpi_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
+int starpu_mpi_issend_detached(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int mpi_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
\ingroup API_MPI_Support
|
|
|
Performs a synchronous-mode, non-blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p mpi_tag within the communicator \p
|
|
|
@@ -221,60 +221,39 @@ function does nothing if the cache mechanism is disabled (see
|
|
|
\anchor MPIInsertTask
|
|
|
\ingroup API_MPI_Support
|
|
|
|
|
|
-\fn void starpu_mpi_data_register_comm(starpu_data_handle_t data_handle, int tag, int rank, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_data_register_comm(starpu_data_handle_t handle, int tag, int rank, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Register to MPI a StarPU data handle with the given tag, rank and MPI communicator.
|
|
|
It also automatically clears the MPI communication cache when unregistering the data.
|
|
|
|
|
|
-\def starpu_mpi_data_register(data_handle, tag, rank)
|
|
|
+\fn int starpu_mpi_data_register(starpu_data_handle_t handle, int tag, int rank)
|
|
|
\ingroup API_MPI_Support
|
|
|
Register to MPI a StarPU data handle with the given tag, rank and the MPI communicator MPI_COMM_WORLD.
|
|
|
It also automatically clears the MPI communication cache when unregistering the data.
|
|
|
|
|
|
-\fn void starpu_mpi_data_set_tag(starpu_data_handle_t handle, int tag)
|
|
|
+\fn int starpu_data_set_tag(starpu_data_handle_t handle, int tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Register to MPI a StarPU data handle with the given tag. No rank will be defined.
|
|
|
It also automatically clears the MPI communication cache when unregistering the data.
|
|
|
|
|
|
-\def starpu_data_set_tag
|
|
|
-\ingroup API_MPI_Support
|
|
|
-Symbol kept for backward compatibility. Calling function starpu_mpi_data_set_tag
|
|
|
-
|
|
|
-\fn void starpu_mpi_data_set_rank_comm(starpu_data_handle_t handle, int rank, MPI_Comm comm)
|
|
|
+\fn int starpu_data_set_rank_comm(starpu_data_handle_t handle, int rank, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Register to MPI a StarPU data handle with the given rank and given communicator. No tag will be defined.
|
|
|
It also automatically clears the MPI communication cache when unregistering the data.
|
|
|
|
|
|
-\def starpu_mpi_data_set_rank
|
|
|
-\ingroup API_MPI_Support
|
|
|
-Register to MPI a StarPU data handle with the given rank and the MPI communicator MPI_COMM_WORLD. No tag will be defined.
|
|
|
-It also automatically clears the MPI communication cache when unregistering the data.
|
|
|
-Symbol kept for backward compatibility. Calling function starpu_mpi_data_set_rank
|
|
|
-
|
|
|
-\def starpu_data_set_rank
|
|
|
+\fn int starpu_data_set_rank(starpu_data_handle_t handle, int rank)
|
|
|
\ingroup API_MPI_Support
|
|
|
Register to MPI a StarPU data handle with the given rank and the MPI communicator MPI_COMM_WORLD. No tag will be defined.
|
|
|
It also automatically clears the MPI communication cache when unregistering the data.
|
|
|
-Symbol kept for backward compatibility. Calling function starpu_mpi_data_set_rank
|
|
|
|
|
|
\fn int starpu_mpi_data_get_rank(starpu_data_handle_t handle)
|
|
|
\ingroup API_MPI_Support
|
|
|
Return the rank of the given data.
|
|
|
|
|
|
-\def starpu_data_get_rank(handle)
|
|
|
-\ingroup API_MPI_Support
|
|
|
-Return the rank of the given data.
|
|
|
-Symbol kept for backward compatibility. Calling function starpu_mpi_data_get_rank
|
|
|
-
|
|
|
\fn int starpu_mpi_data_get_tag(starpu_data_handle_t handle)
|
|
|
\ingroup API_MPI_Support
|
|
|
Return the tag of the given data.
|
|
|
|
|
|
-\def starpu_data_get_tag(handle)
|
|
|
-\ingroup API_MPI_Support
|
|
|
-Return the tag of the given data.
|
|
|
-Symbol kept for backward compatibility. Calling function starpu_mpi_data_get_tag
|
|
|
-
|
|
|
\def STARPU_EXECUTE_ON_NODE
|
|
|
\ingroup API_MPI_Support
|
|
|
this macro is used when calling starpu_mpi_task_insert(), and must be
|