Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First works on the datatypes. Still missing a lot.
[simgrid.git] / src / smpi / colls / allreduce-rab1.cpp
index 206ec1b..5741ab6 100644 (file)
@@ -60,7 +60,7 @@ int smpi_coll_tuned_allreduce_rab1(void *sbuff, void *rbuff,
                    tmp_buf, recv_cnt, dtype, dst, tag, comm, &status);
 
       if(op!=MPI_OP_NULL) op->apply( tmp_buf, (char *) recv + recv_idx * extent, &recv_cnt,
-                     &dtype);
+                     dtype);
 
       // update send_idx for next iteration 
       send_idx = recv_idx;
@@ -94,7 +94,7 @@ int smpi_coll_tuned_allreduce_rab1(void *sbuff, void *rbuff,
                    tag, tmp_buf, recv_cnt, dtype, dst, tag, comm, &status);
 
       if(op!=MPI_OP_NULL) op->apply( tmp_buf, (char *) rbuff + recv_idx * extent, &recv_cnt,
-                     &dtype);
+                     dtype);
 
       // update send_idx for next iteration 
       send_idx = recv_idx;