X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/488dda0c43d26f0a770e1d5b47f73148e153949b..88f49b34e91fe95b712d1545ae71a0896f5466c1:/src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp diff --git a/src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp b/src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp index 91d9977778..9d5744f226 100644 --- a/src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp +++ b/src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. The SimGrid Team. +/* Copyright (c) 2013-2020. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -77,20 +77,20 @@ * [6] [6] [6] [6] [6] [6] [6] */ -namespace simgrid{ -namespace smpi{ +namespace simgrid { +namespace smpi { -int Coll_allgatherv_ompi_bruck::allgatherv(const void *sbuf, int scount, - MPI_Datatype sdtype, - void *rbuf, const int *rcounts, - const int *rdispls, - MPI_Datatype rdtype, - MPI_Comm comm) +int allgatherv__ompi_bruck(const void *sbuf, int scount, + MPI_Datatype sdtype, + void *rbuf, const int *rcounts, + const int *rdispls, + MPI_Datatype rdtype, + MPI_Comm comm) { int sendto, recvfrom, blockcount, i; unsigned int distance; ptrdiff_t slb, rlb, sext, rext; - char *tmpsend = NULL, *tmprecv = NULL; + char *tmpsend = nullptr, *tmprecv = nullptr; MPI_Datatype new_rdtype = MPI_DATATYPE_NULL, new_sdtype = MPI_DATATYPE_NULL; unsigned int size = comm->size();