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
MPI_Comm -> C++
[simgrid.git]
/
src
/
smpi
/
colls
/
barrier-mvapich2-pair.cpp
diff --git
a/src/smpi/colls/barrier-mvapich2-pair.cpp
b/src/smpi/colls/barrier-mvapich2-pair.cpp
index
2ef6ad1
..
9683162
100644
(file)
--- a/
src/smpi/colls/barrier-mvapich2-pair.cpp
+++ b/
src/smpi/colls/barrier-mvapich2-pair.cpp
@@
-49,12
+49,12
@@
int smpi_coll_tuned_barrier_mvapich2_pair(MPI_Comm comm)
int d, dst, src;
int mpi_errno = MPI_SUCCESS;
int d, dst, src;
int mpi_errno = MPI_SUCCESS;
- size =
smpi_comm_size(comm
);
+ size =
comm->size(
);
/* Trivial barriers return immediately */
if (size == 1)
return MPI_SUCCESS;
/* Trivial barriers return immediately */
if (size == 1)
return MPI_SUCCESS;
- rank =
smpi_comm_rank(comm
);
+ rank =
comm->rank(
);
int N2_prev = 1;
/* N2_prev = greatest power of two < size of Comm */
for( N2_prev = 1; N2_prev <= size; N2_prev <<= 1 );
int N2_prev = 1;
/* N2_prev = greatest power of two < size of Comm */
for( N2_prev = 1; N2_prev <= size; N2_prev <<= 1 );