Skip to content

Conversation

@gpaulsen
Copy link
Member

zero-size derived datatypes are now flagged as OPAL_DATATYPE_FLAG_CONTIGUOUS
so update mca_pml_ucx_init_datatype() to correctly handle them.
Since 'size' is a 'size_t', the assertion can simply be removed.

Signed-off-by: Gilles Gouaillardet [email protected]
(cherry picked from commit 33361aa)

zero-size derived datatypes are now flagged as OPAL_DATATYPE_FLAG_CONTIGUOUS
so update mca_pml_ucx_init_datatype() to correctly handle them.
Since 'size' is a 'size_t', the assertion can simply be removed.

Signed-off-by: Gilles Gouaillardet <[email protected]>
(cherry picked from commit 33361aa)
@ggouaillardet
Copy link
Contributor

@gpaulsen are you sure we need to backport this to the v4.0.x ?
IIRC, this change was a direct consequence of 3522916 that has not been backported yet to the release branch.

Should both commits be backported all together?

@bosilca any suggestion ?

@bosilca
Copy link
Member

bosilca commented Nov 13, 2019

@ggouaillardet is right, the predefined datatypes are not marked as contiguous in the v4.0.x.

@gpaulsen
Copy link
Member Author

I'm going to try pulling in 3522916, and and retesting the reproducer. We may end up just closing this. Is this desirable on v4.0.x?

@gpaulsen
Copy link
Member Author

I'm closing as un-needed in v4.0.x

@gpaulsen gpaulsen closed this Jan 13, 2020
@gpaulsen gpaulsen deleted the gpaulsen_v4.0.x_cp_pr7061 branch January 13, 2020 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants