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
change algo chosen for pairwise, to work with non power of 2 number of procs
[simgrid.git]
/
src
/
smpi
/
colls
/
alltoall-ompi-pairwise.c
diff --git
a/src/smpi/colls/alltoall-ompi-pairwise.c
b/src/smpi/colls/alltoall-ompi-pairwise.c
index
e23944f
..
8daee00
100644
(file)
--- a/
src/smpi/colls/alltoall-ompi-pairwise.c
+++ b/
src/smpi/colls/alltoall-ompi-pairwise.c
@@
-17,7
+17,6
@@
*/
#include "colls_private.h"
*/
#include "colls_private.h"
-#define MCA_COLL_BASE_TAG_ALLTOALL 101
int smpi_coll_tuned_alltoall_ompi_pairwise(void *sbuf, int scount,
MPI_Datatype sdtype,
int smpi_coll_tuned_alltoall_ompi_pairwise(void *sbuf, int scount,
MPI_Datatype sdtype,
@@
-53,9
+52,9
@@
int smpi_coll_tuned_alltoall_ompi_pairwise(void *sbuf, int scount,
/* send and receive */
smpi_mpi_sendrecv( tmpsend, scount, sdtype, sendto,
/* send and receive */
smpi_mpi_sendrecv( tmpsend, scount, sdtype, sendto,
-
MCA_COLL_BASE
_TAG_ALLTOALL,
+
COLL
_TAG_ALLTOALL,
tmprecv, rcount, rdtype, recvfrom,
tmprecv, rcount, rdtype, recvfrom,
-
MCA_COLL_BASE
_TAG_ALLTOALL,
+
COLL
_TAG_ALLTOALL,
comm, MPI_STATUS_IGNORE);
}
comm, MPI_STATUS_IGNORE);
}