Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
replace star_reduction by our own reduction
[simgrid.git] / src / smpi / colls / allreduce-lr.c
index a7f7336..d526629 100644 (file)
@@ -75,7 +75,7 @@ smpi_coll_tuned_allreduce_lr(void *sbuf, void *rbuf, int rcount,
                  ((rank + size - 1) % size), tag + i, comm, &status);
 
     // compute result to rbuf+recv_offset
-    star_reduction(op, (char *) sbuf + recv_offset, (char *) rbuf + recv_offset,
+    smpi_op_apply(op, (char *) sbuf + recv_offset, (char *) rbuf + recv_offset,
                    &count, &dtype);
   }