Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

@nysal
Copy link
Member

@nysal nysal commented Dec 19, 2015

This has been in master for quite a while. I missed opening a PR for v2.x. Current v2.x branch fails the opal_fifo tests, without these fixes. See open-mpi/ompi#720 for details

@nysal
Copy link
Member Author

nysal commented Dec 19, 2015

:bot🏷️bug
:bot:milestone:v2.0.0

@ompiteam-bot ompiteam-bot added this to the v2.0.0 milestone Dec 19, 2015
This commit adds implementations of opal_atomic_ll_32/64 and
opal_atomic_sc_32/64. These atomics can be used to implement more
efficient lifo/fifo operations on supported platforms. The only
supported platform with this commit is powerpc/power.

This commit also adds an implementation of opal_atomic_swap_32/64 for
powerpc.

Tested with Power8.

(cherry picked from open-mpi/ompi@6a19a10)

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
These instructions allow a more efficient implementation of the
opal_fifo_pop_atomic function.

(cherry picked from open-mpi/ompi@2a7e191)

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
This commit adds implementations for opal_atomic_lifo_pop and
opal_atomic_lifo_push that make use of the load-linked and
store-conditional instruction. These instruction allow for a more
efficient implementation on supported platforms.

(cherry picked from open-mpi/ompi@209a7a0)

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1174/ for details.

@nysal
Copy link
Member Author

nysal commented Dec 19, 2015

bot:assign: @bosilca
Please review

@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1175/ for details.

@bosilca
Copy link
Member

bosilca commented Dec 20, 2015

👍

@jsquyres
Copy link
Member

@hppritcha Good to go

hppritcha added a commit that referenced this pull request Dec 21, 2015
Move powerpc atomics fixes and improvements to v2.x
@hppritcha hppritcha merged commit c13638b into open-mpi:v2.x Dec 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants