Skip to content
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

pml/ob1: use opal_atomic #15

Open
wants to merge 1 commit into
base: sessions_new
Choose a base branch
from

Conversation

hppritcha
Copy link

so that the code can compile when configured with

--disable-c11-atomics

Signed-off-by: Howard Pritchard [email protected]

so that the code can compile when configured with

--disable-c11-atomics

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha
Copy link
Author

@hjelmn another thing to pull in to sessions_new

hjelmn pushed a commit that referenced this pull request Sep 18, 2020
* piggybacking Bull functionalities

* coll/adapt: Fix naming conventions and C11 atomic use

This commit fixes some naming convention issues, such as function names
which should follow the naming ompi_coll_adapt instead of
mca_coll_adapt, reserved for component and module naming (cf. tuned
collective component);

It also fixes the use of _Atomic construct, which is only valid in C11.
OPAL constructs have already been adapted to that use, so use
opal_atomic_* types instead.

* coll/adapt: Remove unused component field in module

This commit removes an unneeded field referencing the component in the
module of adapt, as it is already available through the
mca_coll_adapt_component global variable.

Signed-off-by: Marc Sergent <[email protected]>
Co-authored-by: Lemarinier, Pierre <[email protected]>
Co-authored-by: pierrele <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant