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

Wait: extend wait_until|test with all|any|some #96

Open
minsii opened this issue Mar 3, 2021 · 0 comments
Open

Wait: extend wait_until|test with all|any|some #96

minsii opened this issue Mar 3, 2021 · 0 comments
Labels
Milestone

Comments

@minsii
Copy link
Collaborator

minsii commented Mar 3, 2021

Similar to MPI_Wait|Test family, these routines accepts an array of elements and atomically check the update of each element. Cannot translate to MPI_Wait|Test{any|all|some} because these routines guarantee atomicity with remote AMO operations.

shmem_wait_until_all
shmem_wait_until_any
shmem_wait_until_some
shmem_test_all
shmem_test_any
shmem_test_some

Starting point

  • Section 9.10 Point-To-Point Synchronization Routines in OpenSHMEM spec v1.5
  • Extend src/internal/p2p_impl.h. Use MPI_Accumulate to get all elements at a time.

TODO

  • Implementation
  • 1-3 tests in tests/
@minsii minsii added this to the FY21-Q3Q4 milestone Mar 3, 2021
@minsii minsii removed the optional label Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant