Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Continuing work on datatypes
[simgrid.git] / src / smpi / colls / allgather-pair.cpp
index 74f801b..5dd17f7 100644 (file)
@@ -85,7 +85,7 @@ smpi_coll_tuned_allgather_pair(void *send_buff, int send_count,
   if((num_procs&(num_procs-1)))
     THROWF(arg_error,0, "allgather pair algorithm can't be used with non power of two number of processes ! ");
 
-  extent = smpi_datatype_get_extent(send_type);
+  extent = send_type->get_extent();
 
   // local send/recv
   Request::sendrecv(send_ptr, send_count, send_type, rank, tag,