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
First works on the datatypes. Still missing a lot.
[simgrid.git]
/
src
/
smpi
/
colls
/
reduce-flat-tree.cpp
diff --git
a/src/smpi/colls/reduce-flat-tree.cpp
b/src/smpi/colls/reduce-flat-tree.cpp
index
33999ad
..
b4c3635
100644
(file)
--- a/
src/smpi/colls/reduce-flat-tree.cpp
+++ b/
src/smpi/colls/reduce-flat-tree.cpp
@@
-56,7
+56,7
@@
smpi_coll_tuned_reduce_flat_tree(void *sbuf, void *rbuf, int count,
}
/* Call reduction function. */
-
smpi_op_apply(op, inbuf, rbuf, &count, &
dtype);
+
if(op!=MPI_OP_NULL) op->apply( inbuf, rbuf, &count,
dtype);
}