X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8f7d03b2e6dd1bc79313ecb282820738ac0983c7..deb1c76a7b953888921c68a1ed77f170aca827de:/src/smpi/colls/allgather/allgather-rdb.cpp diff --git a/src/smpi/colls/allgather/allgather-rdb.cpp b/src/smpi/colls/allgather/allgather-rdb.cpp index 6d2950aa42..4564a40f0c 100644 --- a/src/smpi/colls/allgather/allgather-rdb.cpp +++ b/src/smpi/colls/allgather/allgather-rdb.cpp @@ -64,7 +64,7 @@ Coll_allgather_rdb::allgather(void *sbuf, int send_count, Request::sendrecv(recv_ptr + send_offset, curr_count, send_type, dst, tag, recv_ptr + recv_offset, mask * recv_count, recv_type, dst, tag, comm, &status); - last_recv_count = smpi_mpi_get_count(&status, recv_type); + last_recv_count = Status::get_count(&status, recv_type); curr_count += last_recv_count; } @@ -117,7 +117,7 @@ Coll_allgather_rdb::allgather(void *sbuf, int send_count, recv_type, dst, tag, comm, &status); // num_procs_completed is also equal to the no. of processes // whose data we don't have - last_recv_count = smpi_mpi_get_count(&status, recv_type); + last_recv_count = Status::get_count(&status, recv_type); curr_count += last_recv_count; } tmp_mask >>= 1;