1
1

Merge pull request #7438 from devreal/shmwin_contig_v4.0.x

Correctly set baseptr in contiguous shared memory window with local size zero (v4.0.x)
Этот коммит содержится в:
Geoff Paulsen 2020-02-24 07:14:59 -06:00 коммит произвёл GitHub
родитель af72065ca7 08da2f5ea5
Коммит 625f27a715
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -338,7 +338,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
}
module->sizes[i] = rbuf[i];
if (module->sizes[i]) {
if (module->sizes[i] || !module->noncontig) {
module->bases[i] = ((char *) module->segment_base) + total;
total += rbuf[i];
} else {