A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright lines for 2022.
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather
/
allgather-smp-simple.cpp
diff --git
a/src/smpi/colls/allgather/allgather-smp-simple.cpp
b/src/smpi/colls/allgather/allgather-smp-simple.cpp
index
b279d4d
..
71180e0
100644
(file)
--- a/
src/smpi/colls/allgather/allgather-smp-simple.cpp
+++ b/
src/smpi/colls/allgather/allgather-smp-simple.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-202
0
. The SimGrid Team.
+/* Copyright (c) 2013-202
2
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-76,9
+76,9
@@
int allgather__smp_simple(const void *send_buf, int scount,
if (intra_rank == 0) {
int num_req = (inter_comm_size - 1) * 2;
if (intra_rank == 0) {
int num_req = (inter_comm_size - 1) * 2;
-
MPI_Request* reqs
= new MPI_Request[num_req];
+
auto* reqs
= new MPI_Request[num_req];
MPI_Request* req_ptr = reqs;
MPI_Request* req_ptr = reqs;
-
MPI_Status* stat
= new MPI_Status[num_req];
+
auto* stat
= new MPI_Status[num_req];
for (i = 1; i < inter_comm_size; i++) {
for (i = 1; i < inter_comm_size; i++) {