Commit 006c4e9
committed
coll/han: fix the count of alreduce t3 task's upper bcast operation
The upper bcast operaiton is applied to next seg, therefore the
count can be last_seg_count. Prior to this patch, seg_count is
use unconditionally.
This patch used last_seg_count if next seg is last seg.
Signed-off-by: Wei Zhang <wzam@amazon.com>1 parent 0d7c8c3 commit 006c4e9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| |||
0 commit comments