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
finish the cleanup of the netcard list container
[simgrid.git]
/
src
/
smpi
/
colls
/
bcast-flattree-pipeline.c
diff --git
a/src/smpi/colls/bcast-flattree-pipeline.c
b/src/smpi/colls/bcast-flattree-pipeline.c
index
3054e17
..
9b94eb2
100644
(file)
--- a/
src/smpi/colls/bcast-flattree-pipeline.c
+++ b/
src/smpi/colls/bcast-flattree-pipeline.c
@@
-20,6
+20,7
@@
smpi_coll_tuned_bcast_flattree_pipeline(void *buff, int count,
extent = smpi_datatype_get_extent(data_type);
int segment = flattree_segment_in_byte / extent;
+ segment = segment == 0 ? 1 :segment;
int pipe_length = count / segment;
int increment = segment * extent;
if (pipe_length==0) {