|
@@ -76,41 +76,41 @@ Return the size of the communicator \c MPI_COMM_WORLD
|
|
|
\anchor MPIPtpCommunication
|
|
|
\ingroup API_MPI_Support
|
|
|
|
|
|
-\fn int starpu_mpi_send(starpu_data_handle_t data_handle, int dest, int64_t data_tag, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_send(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Perform a standard-mode, blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p data_tag within the communicator \p
|
|
|
comm.
|
|
|
|
|
|
-\fn int starpu_mpi_send_prio(starpu_data_handle_t data_handle, int dest, int64_t data_tag, int prio, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_send_prio(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, int prio, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Similar to starpu_mpi_send, but takes a priority \p prio.
|
|
|
|
|
|
-\fn int starpu_mpi_recv(starpu_data_handle_t data_handle, int source, int64_t data_tag, MPI_Comm comm, MPI_Status *status)
|
|
|
+\fn int starpu_mpi_recv(starpu_data_handle_t data_handle, int source, starpu_mpi_tag_t data_tag, MPI_Comm comm, MPI_Status *status)
|
|
|
\ingroup API_MPI_Support
|
|
|
Perform a standard-mode, blocking receive in \p data_handle from the
|
|
|
node \p source using the message tag \p data_tag within the
|
|
|
communicator \p comm.
|
|
|
|
|
|
-\fn int starpu_mpi_isend(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int64_t data_tag, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_isend(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, starpu_mpi_tag_t data_tag, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a standard-mode, non blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p data_tag within the communicator \p
|
|
|
comm. After the call, the pointer to the request \p req can be used to
|
|
|
test or to wait for the completion of the communication.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_prio(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int64_t data_tag, int prio, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_isend_prio(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, starpu_mpi_tag_t data_tag, int prio, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Similar to starpu_mpi_isend, but takes a priority \p prio.
|
|
|
|
|
|
-\fn int starpu_mpi_irecv(starpu_data_handle_t data_handle, starpu_mpi_req *req, int source, int64_t data_tag, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_irecv(starpu_data_handle_t data_handle, starpu_mpi_req *req, int source, starpu_mpi_tag_t data_tag, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a nonblocking receive in \p data_handle from the node \p source
|
|
|
using the message tag \p data_tag within the communicator \p comm.
|
|
|
After the call, the pointer to the request \p req can be used to test
|
|
|
or to wait for the completion of the communication.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_detached(starpu_data_handle_t data_handle, int dest, int64_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
+\fn int starpu_mpi_isend_detached(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a standard-mode, non blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p data_tag within the communicator \p
|
|
@@ -121,11 +121,11 @@ communication completes, its resources are automatically released back
|
|
|
to the system, there is no need to test or to wait for the completion
|
|
|
of the request.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_detached_prio(starpu_data_handle_t data_handle, int dest, int64_t data_tag, int prio, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
+\fn int starpu_mpi_isend_detached_prio(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, int prio, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
\ingroup API_MPI_Support
|
|
|
Similar to starpu_mpi_isend_detached, but takes a priority \p prio.
|
|
|
|
|
|
-\fn int starpu_mpi_irecv_detached(starpu_data_handle_t data_handle, int source, int64_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
+\fn int starpu_mpi_irecv_detached(starpu_data_handle_t data_handle, int source, starpu_mpi_tag_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a nonblocking receive in \p data_handle from the node \p source
|
|
|
using the message tag \p data_tag within the communicator \p comm. On
|
|
@@ -136,7 +136,7 @@ communication completes, its resources are automatically released back
|
|
|
to the system, there is no need to test or to wait for the completion
|
|
|
of the request.
|
|
|
|
|
|
-\fn int starpu_mpi_irecv_detached_sequential_consistency(starpu_data_handle_t data_handle, int source, int64_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg, int sequential_consistency)
|
|
|
+\fn int starpu_mpi_irecv_detached_sequential_consistency(starpu_data_handle_t data_handle, int source, starpu_mpi_tag_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg, int sequential_consistency)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a nonblocking receive in \p data_handle from the node \p source
|
|
|
using the message tag \p data_tag within the communicator \p comm. On
|
|
@@ -152,17 +152,17 @@ communication completes, its resources are automatically released back
|
|
|
to the system, there is no need to test or to wait for the completion
|
|
|
of the request.
|
|
|
|
|
|
-\fn int starpu_mpi_issend(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int64_t data_tag, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_issend(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, starpu_mpi_tag_t data_tag, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Perform a synchronous-mode, non-blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p data_tag within the communicator \p
|
|
|
comm.
|
|
|
|
|
|
-\fn int starpu_mpi_issend_prio(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int64_t data_tag, int prio, MPI_Comm comm)
|
|
|
+\fn int starpu_mpi_issend_prio(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, starpu_mpi_tag_t data_tag, int prio, MPI_Comm comm)
|
|
|
\ingroup API_MPI_Support
|
|
|
Similar to starpu_mpi_issend, but takes a priority \p prio.
|
|
|
|
|
|
-\fn int starpu_mpi_issend_detached(starpu_data_handle_t data_handle, int dest, int64_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
+\fn int starpu_mpi_issend_detached(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
|
|
|
\ingroup API_MPI_Support
|
|
|
Perform a synchronous-mode, non-blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p data_tag within the communicator \p
|
|
@@ -192,23 +192,23 @@ have called it.
|
|
|
\ingroup API_MPI_Support
|
|
|
Wait until all StarPU tasks and communications for the given communicator are completed.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_detached_unlock_tag(starpu_data_handle_t data_handle, int dest, int64_t data_tag, MPI_Comm comm, starpu_tag_t tag)
|
|
|
+\fn int starpu_mpi_isend_detached_unlock_tag(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, MPI_Comm comm, starpu_tag_t tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a standard-mode, non blocking send of \p data_handle to the node
|
|
|
\p dest using the message tag \p data_tag within the communicator \p
|
|
|
comm. On completion, \p tag is unlocked.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_detached_unlock_tag_prio(starpu_data_handle_t data_handle, int dest, int64_t data_tag, int prio, MPI_Comm comm, starpu_tag_t tag)
|
|
|
+\fn int starpu_mpi_isend_detached_unlock_tag_prio(starpu_data_handle_t data_handle, int dest, starpu_mpi_tag_t data_tag, int prio, MPI_Comm comm, starpu_tag_t tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Similar to starpu_mpi_isend_detached_unlock_tag(), but takes a priority \p prio.
|
|
|
|
|
|
-\fn int starpu_mpi_irecv_detached_unlock_tag(starpu_data_handle_t data_handle, int source, int64_t data_tag, MPI_Comm comm, starpu_tag_t tag)
|
|
|
+\fn int starpu_mpi_irecv_detached_unlock_tag(starpu_data_handle_t data_handle, int source, starpu_mpi_tag_t data_tag, MPI_Comm comm, starpu_tag_t tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post a nonblocking receive in \p data_handle from the node \p source
|
|
|
using the message tag \p data_tag within the communicator \p comm. On
|
|
|
completion, \p tag is unlocked.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_array_detached_unlock_tag(unsigned array_size, starpu_data_handle_t *data_handle, int *dest, int64_t *data_tag, MPI_Comm *comm, starpu_tag_t tag)
|
|
|
+\fn int starpu_mpi_isend_array_detached_unlock_tag(unsigned array_size, starpu_data_handle_t *data_handle, int *dest, starpu_mpi_tag_t *data_tag, MPI_Comm *comm, starpu_tag_t tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post \p array_size standard-mode, non blocking send. Each post sends
|
|
|
the n-th data of the array \p data_handle to the n-th node of the
|
|
@@ -216,11 +216,11 @@ array \p dest using the n-th message tag of the array \p data_tag
|
|
|
within the n-th communicator of the array \p comm. On completion of
|
|
|
the all the requests, \p tag is unlocked.
|
|
|
|
|
|
-\fn int starpu_mpi_isend_array_detached_unlock_tag_prio(unsigned array_size, starpu_data_handle_t *data_handle, int *dest, int64_t *data_tag, int *prio, MPI_Comm *comm, starpu_tag_t tag)
|
|
|
+\fn int starpu_mpi_isend_array_detached_unlock_tag_prio(unsigned array_size, starpu_data_handle_t *data_handle, int *dest, starpu_mpi_tag_t *data_tag, int *prio, MPI_Comm *comm, starpu_tag_t tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Similar to starpu_mpi_isend_array_detached_unlock_tag(), but takes a priority \p prio.
|
|
|
|
|
|
-\fn int starpu_mpi_irecv_array_detached_unlock_tag(unsigned array_size, starpu_data_handle_t *data_handle, int *source, int64_t *data_tag, MPI_Comm *comm, starpu_tag_t tag)
|
|
|
+\fn int starpu_mpi_irecv_array_detached_unlock_tag(unsigned array_size, starpu_data_handle_t *data_handle, int *source, starpu_mpi_tag_t *data_tag, MPI_Comm *comm, starpu_tag_t tag)
|
|
|
\ingroup API_MPI_Support
|
|
|
Post \p array_size nonblocking receive. Each post receives in the n-th
|
|
|
data of the array \p data_handle from the n-th node of the array \p
|
|
@@ -297,7 +297,7 @@ value was previously sent to \p dest, and not flushed since then.
|
|
|
\anchor MPIInsertTask
|
|
|
\ingroup API_MPI_Support
|
|
|
|
|
|
-\fn void starpu_mpi_data_register_comm(starpu_data_handle_t data_handle, int64_t data_tag, int rank, MPI_Comm comm)
|
|
|
+\fn void starpu_mpi_data_register_comm(starpu_data_handle_t data_handle, starpu_mpi_tag_t data_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.
|
|
@@ -307,7 +307,7 @@ It also automatically clears the MPI communication cache when unregistering the
|
|
|
Register to MPI a StarPU data handle with the given tag, rank and the MPI communicator \c 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, int64_t data_tag)
|
|
|
+\fn void starpu_mpi_data_set_tag(starpu_data_handle_t handle, starpu_mpi_tag_t data_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.
|
|
@@ -342,7 +342,7 @@ Return the rank of the given data.
|
|
|
Return the rank of the given data.
|
|
|
Symbol kept for backward compatibility. Calling function starpu_mpi_data_get_rank()
|
|
|
|
|
|
-\fn int64_t starpu_mpi_data_get_tag(starpu_data_handle_t handle)
|
|
|
+\fn starpu_mpi_tag_t starpu_mpi_data_get_tag(starpu_data_handle_t handle)
|
|
|
\ingroup API_MPI_Support
|
|
|
Return the tag of the given data.
|
|
|
|