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 preliminary support for MPI_Pack, MPI_Pack_size, and MPI_Unpack.
[simgrid.git]
/
src
/
smpi
/
smpi_rma.c
diff --git
a/src/smpi/smpi_rma.c
b/src/smpi/smpi_rma.c
index
72f4cc7
..
653131a
100644
(file)
--- a/
src/smpi/smpi_rma.c
+++ b/
src/smpi/smpi_rma.c
@@
-94,6
+94,11
@@
void smpi_mpi_win_get_name(MPI_Win win, char* name, int* length){
strcpy(name, win->name);
}
+void smpi_mpi_win_get_group(MPI_Win win, MPI_Group* group){
+ if(win->comm != MPI_COMM_NULL)
+ *group = smpi_comm_group(win->comm);
+}
+
void smpi_mpi_win_set_name(MPI_Win win, char* name){
win->name = strdup(name);;
}