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

Public GIT Repository
Merge branch 'pikachuyann/simgrid-stoprofiles'
[simgrid.git] / src / smpi / colls / bcast / bcast-NTSL.cpp
index 1029e93813b721f0886215a73289a66a91f2d963..8edfd953cfe7ab5b89509c392d5d26f2fee2afd7 100644 (file)
@@ -72,10 +72,10 @@ int bcast__NTSL(void *buf, int count, MPI_Datatype datatype,
 
   /* pipeline bcast */
   else {
-    MPI_Request* send_request_array = new MPI_Request[size + pipe_length];
-    MPI_Request* recv_request_array = new MPI_Request[size + pipe_length];
-    MPI_Status* send_status_array   = new MPI_Status[size + pipe_length];
-    MPI_Status* recv_status_array   = new MPI_Status[size + pipe_length];
+    auto* send_request_array = new MPI_Request[size + pipe_length];
+    auto* recv_request_array = new MPI_Request[size + pipe_length];
+    auto* send_status_array  = new MPI_Status[size + pipe_length];
+    auto* recv_status_array  = new MPI_Status[size + pipe_length];
 
     /* root send data */
     if (rank == 0) {