]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/alltoall-ring.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[EXAMPLES] Added an example for the HostLoad plugin
[simgrid.git] / src / smpi / colls / alltoall-ring.cpp
index b0230019cde82c14ed3c5843f8685aa329f401f2..34138e811a024663183cba7240d65c214606cdf1 100644 (file)
@@ -41,8 +41,8 @@ smpi_coll_tuned_alltoall_ring(void *send_buff, int send_count,
 
   rank = comm->rank();
   num_procs = comm->size();
-  send_chunk = smpi_datatype_get_extent(send_type);
-  recv_chunk = smpi_datatype_get_extent(recv_type);
+  send_chunk = send_type->get_extent();
+  recv_chunk = recv_type->get_extent();
 
   send_chunk *= send_count;
   recv_chunk *= recv_count;