Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Continuing work on datatypes
[simgrid.git] / src / smpi / colls / allgather-ring.cpp
index 2a6d84a63d1a4fa5442b8bb2b03c0b9a9f3ee2e5..01c5b13f077f6f2f136e727e1913f1bfb2399a4f 100644 (file)
@@ -80,17 +80,17 @@ smpi_coll_tuned_allgather_ring(void *send_buff, int send_count,
 
   rank = comm->rank();
   num_procs = comm->size();
-  extent = smpi_datatype_get_extent(send_type);
+  extent = send_type->get_extent();
 
   // local send/recv
-  smpi_mpi_sendrecv(sendptr, send_count, send_type, rank, tag,
+  Request::sendrecv(sendptr, send_count, send_type, rank, tag,
                recvptr + rank * recv_count * extent,
                recv_count, recv_type, rank, tag, comm, &status);
 
   for (i = 1; i < num_procs; i++) {
     src = (rank - i + num_procs) % num_procs;
     dst = (rank + i) % num_procs;
-    smpi_mpi_sendrecv(sendptr, send_count, send_type, dst, tag,
+    Request::sendrecv(sendptr, send_count, send_type, dst, tag,
                  recvptr + src * recv_count * extent, recv_count, recv_type,
                  src, tag, comm, &status);
   }