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
/
reduce-binomial.c
diff --git
a/src/smpi/colls/reduce-binomial.c
b/src/smpi/colls/reduce-binomial.c
index
f2555f8
..
a7ece3e
100644
(file)
--- a/
src/smpi/colls/reduce-binomial.c
+++ b/
src/smpi/colls/reduce-binomial.c
@@
-10,7
+10,7
@@
int smpi_coll_tuned_reduce_binomial(void *sendbuf, void *recvbuf, int count,
int comm_size, rank;
int mask, relrank, source;
int dst;
int comm_size, rank;
int mask, relrank, source;
int dst;
- int tag =
4321
;
+ int tag =
COLL_TAG_REDUCE
;
MPI_Aint extent;
void *tmp_buf;
MPI_Aint true_lb, true_extent;
MPI_Aint extent;
void *tmp_buf;
MPI_Aint true_lb, true_extent;
@@
-23,8
+23,6
@@
int smpi_coll_tuned_reduce_binomial(void *sendbuf, void *recvbuf, int count,
tmp_buf = (void *) xbt_malloc(count * extent);
int is_commutative = smpi_op_is_commute(op);
tmp_buf = (void *) xbt_malloc(count * extent);
int is_commutative = smpi_op_is_commute(op);
- smpi_mpi_sendrecv(sendbuf, count, datatype, rank, tag,
- recvbuf, count, datatype, rank, tag, comm, &status);
mask = 1;
int lroot;
mask = 1;
int lroot;