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
memleaks --
[simgrid.git]
/
src
/
smpi
/
colls
/
allreduce-rab1.c
diff --git
a/src/smpi/colls/allreduce-rab1.c
b/src/smpi/colls/allreduce-rab1.c
index
e57ac2f
..
66862da
100644
(file)
--- a/
src/smpi/colls/allreduce-rab1.c
+++ b/
src/smpi/colls/allreduce-rab1.c
@@
-8,7
+8,7
@@
int smpi_coll_tuned_allreduce_rab1(void *sbuff, void *rbuff,
{
MPI_Status status;
MPI_Aint extent;
- int tag =
4321
, rank, nprocs, send_size, newcnt, share;
+ int tag =
COLL_TAG_ALLREDUCE
, rank, nprocs, send_size, newcnt, share;
int pof2 = 1, mask, send_idx, recv_idx, dst, send_cnt, recv_cnt;
void *recv, *tmp_buf;
@@
-50,7
+50,7
@@
int smpi_coll_tuned_allreduce_rab1(void *sbuff, void *rbuff,
smpi_mpi_sendrecv((char *) recv + send_idx * extent, send_cnt, dtype, dst, tag,
tmp_buf, recv_cnt, dtype, dst, tag, comm, &status);
- s
tar_reduction
(op, tmp_buf, (char *) recv + recv_idx * extent, &recv_cnt,
+ s
mpi_op_apply
(op, tmp_buf, (char *) recv + recv_idx * extent, &recv_cnt,
&dtype);
// update send_idx for next iteration
@@
-84,7
+84,7
@@
int smpi_coll_tuned_allreduce_rab1(void *sbuff, void *rbuff,
smpi_mpi_sendrecv((char *) rbuff + send_idx * extent, send_cnt, dtype, dst,
tag, tmp_buf, recv_cnt, dtype, dst, tag, comm, &status);
- s
tar_reduction
(op, tmp_buf, (char *) rbuff + recv_idx * extent, &recv_cnt,
+ s
mpi_op_apply
(op, tmp_buf, (char *) rbuff + recv_idx * extent, &recv_cnt,
&dtype);
// update send_idx for next iteration