1
1

Merge pull request #6657 from brminich/topic/fix_cov_errors

SPML/UCX: Fix coverity error
Этот коммит содержится в:
Yossi Itigin 2019-05-15 12:29:35 +03:00 коммит произвёл GitHub
родитель db0775974d d81dc533f6
Коммит fe5ad67127
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

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

@ -891,8 +891,10 @@ int mca_spml_ucx_put_all_nb(void *dest, const void *source, size_t size, long *c
ctx = oshmem_ctx_default;
}
assert(ctx != NULL); /* make coverity happy */
for (peer = 0; peer < oshmem_num_procs(); peer++) {
dst_pe = (peer + my_pe) % oshmem_group_all->proc_count;
dst_pe = (peer + my_pe) % oshmem_num_procs();
rc = mca_spml_ucx_put_nb(ctx,
(void*)((uintptr_t)dest + my_pe * size),
size,