btl/vader: actually set the correct send size in all cases
Fix a one line bug when dealing with non-contiguous sends in prepare_src. Bug was identified by the intel test suite. cmr=v1.8:reviewer=jsquyres This commit was SVN r31232.
Этот коммит содержится в:
родитель
fc941edaf8
Коммит
b9da3ef462
@ -495,7 +495,7 @@ static struct mca_btl_base_descriptor_t *vader_prepare_src (struct mca_btl_base_
|
||||
return NULL;
|
||||
}
|
||||
|
||||
frag->segments[0].seg_len = total_size;
|
||||
frag->segments[0].seg_len = *size + reserve;
|
||||
} else {
|
||||
#if !OMPI_BTL_VADER_HAVE_XPMEM
|
||||
if (OPAL_LIKELY(total_size <= mca_btl_vader.super.btl_eager_limit)) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user