Skip to content

PML/SPML/UCX: init global objects using C99 style #5480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 28, 2018

Conversation

hoopoepg
Copy link
Contributor

  • to avoid value mix used C99 style of object initializations

Signed-off-by: Sergey Oblomov [email protected]

- to avoid value mix used C99 style of object initializations

Signed-off-by: Sergey Oblomov <[email protected]>
@hoopoepg
Copy link
Contributor Author

@brminich could you review?

@yosefe
Copy link
Contributor

yosefe commented Jul 27, 2018

I think we should keep UCX components in line with the rest of OMPI components, which use the ANSI style initialization.

@hoopoepg
Copy link
Contributor Author

@yosefe there are lot of components where C99 init used (bml/r2, collectives, fs, mxm, etc), as I can see C99 is allowed in OMPI coding guidelines and it looks like much simpler to read

@yosefe
Copy link
Contributor

yosefe commented Jul 27, 2018

@hoopoepg ok. Should we initialize the components (eg mca_pml_ucx_component) this way too?

@hoopoepg
Copy link
Contributor Author

Yep, why not...

@hoopoepg
Copy link
Contributor Author

@yosefe done, pml/spml component init are updated too

@yosefe yosefe merged commit f614438 into open-mpi:master Jul 28, 2018
@yosefe
Copy link
Contributor

yosefe commented Jul 28, 2018

@hoopoepg pls pick to v4.0.x

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