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
avoid warning by checking index in the right order
[simgrid.git]
/
src
/
smpi
/
colls
/
smpi_mvapich2_selector.c
diff --git
a/src/smpi/colls/smpi_mvapich2_selector.c
b/src/smpi/colls/smpi_mvapich2_selector.c
index
1ede76b
..
c3a6022
100644
(file)
--- a/
src/smpi/colls/smpi_mvapich2_selector.c
+++ b/
src/smpi/colls/smpi_mvapich2_selector.c
@@
-640,9
+640,9
@@
int smpi_coll_tuned_bcast_mvapich2(void *buffer,
/* We are now done with the inter-node phase */
/* We are now done with the inter-node phase */
- if (MV2_Bcast_intra_node_function == &MPIR_Knomial_Bcast_intra_node_MV2) {
+
root = INTRA_NODE_ROOT;
root = INTRA_NODE_ROOT;
- }
+
if (!is_contig || !is_homogeneous) {
mpi_errno = MV2_Bcast_intra_node_function(tmp_buf, nbytes,
if (!is_contig || !is_homogeneous) {
mpi_errno = MV2_Bcast_intra_node_function(tmp_buf, nbytes,