1
1

Merge pull request #8210 from vspetrov/master

coll/hcoll: svatterv inplace fix
Этот коммит содержится в:
Jeff Squyres 2020-11-14 10:25:25 -05:00 коммит произвёл GitHub
родитель 67421c5d23 9fa00155f3
Коммит 282be20e6f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

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

@ -413,6 +413,10 @@ int mca_coll_hcoll_scatterv(const void* sbuf, const int *scounts, const int *dis
mca_coll_hcoll_module_t *hcoll_module = (mca_coll_hcoll_module_t*)module;
stype = ompi_dtype_2_hcoll_dtype(sdtype, NO_DERIVED);
rtype = ompi_dtype_2_hcoll_dtype(rdtype, NO_DERIVED);
if (rbuf == MPI_IN_PLACE) {
assert(root == comm->c_my_rank);
rtype = stype;
}
if (OPAL_UNLIKELY(HCOL_DTE_IS_ZERO(stype) || HCOL_DTE_IS_ZERO(rtype))) {
/*If we are here then datatype is not simple predefined datatype */
/*In future we need to add more complex mapping to the dte_data_representation_t */