X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e7c0c67af63b3979a597a66e5e1c8b0435fc6e19..03b9cd8063ce997bf46d80291c7e54ec8480ad01:/src/smpi/colls/allreduce-rab1.c diff --git a/src/smpi/colls/allreduce-rab1.c b/src/smpi/colls/allreduce-rab1.c index e57ac2fcd0..ae72f7491a 100644 --- a/src/smpi/colls/allreduce-rab1.c +++ b/src/smpi/colls/allreduce-rab1.c @@ -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); - star_reduction(op, tmp_buf, (char *) recv + recv_idx * extent, &recv_cnt, + smpi_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); - star_reduction(op, tmp_buf, (char *) rbuff + recv_idx * extent, &recv_cnt, + smpi_op_apply(op, tmp_buf, (char *) rbuff + recv_idx * extent, &recv_cnt, &dtype); // update send_idx for next iteration