1
1

Merge pull request from vspetrov/v4.1.x

V4.1.x coll/hcoll: svatterv inplace fix
Этот коммит содержится в:
Jeff Squyres 2020-11-14 10:26:29 -05:00 коммит произвёл GitHub
родитель 093570a2e1 9c36c28816
Коммит dd3a00a7ae
Не найден ключ, соответствующий данной подписи
Идентификатор ключа 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 */