A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add simple support for MPI_Rsend, MPI_Rsend_init.
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_pmpi_request.cpp
diff --git
a/src/smpi/bindings/smpi_pmpi_request.cpp
b/src/smpi/bindings/smpi_pmpi_request.cpp
index
a04d91d
..
5d36e12
100644
(file)
--- a/
src/smpi/bindings/smpi_pmpi_request.cpp
+++ b/
src/smpi/bindings/smpi_pmpi_request.cpp
@@
-66,6
+66,12
@@
int PMPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int src, int tag
return retval;
}
return retval;
}
+int PMPI_Rsend_init(const void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm,
+ MPI_Request* request)
+{
+ return PMPI_Send_init(buf, count, datatype, dst, tag, comm, request);
+}
+
int PMPI_Ssend_init(const void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm, MPI_Request* request)
{
int retval = 0;
int PMPI_Ssend_init(const void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm, MPI_Request* request)
{
int retval = 0;
@@
-396,6
+402,11
@@
int PMPI_Send(const void *buf, int count, MPI_Datatype datatype, int dst, int ta
return retval;
}
return retval;
}
+int PMPI_Rsend(const void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm)
+{
+ return PMPI_Send(buf, count, datatype, dst, tag, comm);
+}
+
int PMPI_Ssend(const void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm) {
int retval = 0;
int PMPI_Ssend(const void* buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm) {
int retval = 0;