]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/alltoall-rdb.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-rdb.cpp
index 41f78ca3bf52308282a676d002da6758f35d4ef8..709e4542d9e5f73a0418bd3e8a119b337ff78fc9 100644 (file)
@@ -47,9 +47,9 @@ int smpi_coll_tuned_alltoall_rdb(void *send_buff, int send_count,
 
   num_procs = comm->size();
   rank = comm->rank();
-  send_increment = smpi_datatype_get_extent(send_type);
-  recv_increment = smpi_datatype_get_extent(recv_type);
-  extent = smpi_datatype_get_extent(recv_type);
+  send_increment = send_type->get_extent();
+  recv_increment = recv_type->get_extent();
+  extent = recv_type->get_extent();
 
   send_increment *= (send_count * num_procs);
   recv_increment *= (recv_count * num_procs);