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
/
allreduce
/
allreduce-mvapich-rs.cpp
diff --git
a/src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp
b/src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp
index
cbfdaa7
..
7d33c76
100644
(file)
--- a/
src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp
+++ b/
src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-20
19
. The SimGrid Team.
+/* Copyright (c) 2013-20
22
. 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
@@
-35,7
+35,7
@@
int allreduce__mvapich2_rs(const void *sendbuf,
int mpi_errno = MPI_SUCCESS;
int newrank = 0;
int mask, pof2, i, send_idx, recv_idx, last_idx, send_cnt;
int mpi_errno = MPI_SUCCESS;
int newrank = 0;
int mask, pof2, i, send_idx, recv_idx, last_idx, send_cnt;
- int dst,
is_commutative,
rem, newdst, recv_cnt;
+ int dst, rem, newdst, recv_cnt;
MPI_Aint true_lb, true_extent, extent;
if (count == 0) {
MPI_Aint true_lb, true_extent, extent;
if (count == 0) {
@@
-47,7
+47,7
@@
int allreduce__mvapich2_rs(const void *sendbuf,
int comm_size = comm->size();
int rank = comm->rank();
int comm_size = comm->size();
int rank = comm->rank();
-
is_commutative = (op==
MPI_OP_NULL || op->is_commutative());
+
bool is_commutative = (op ==
MPI_OP_NULL || op->is_commutative());
/* need to allocate temporary buffer to store incoming data */
datatype->extent(&true_lb, &true_extent);
/* need to allocate temporary buffer to store incoming data */
datatype->extent(&true_lb, &true_extent);