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_vector #97

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

Wait: extend wait_until|test with all|any|some_vector #97

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

Comments

@minsii
Copy link
Collaborator

minsii commented Mar 3, 2021

Wait or test elements in an array but with a mask (status) to specify whether the element is excluded from the wait set

size_t shmem_wait_until_some(TYPE *ivars, size_t nelems, size_t *indices, const int *status,
             int cmp, TYPE cmp_value);
shmem_wait_until_any_vector
shmem_wait_until_some_vector
shmem_test_all_vector
shmem_test_any_vector
shmem_test_some_vector

Starting point

  • Section 9.10 Point-To-Point Synchronization Routines in OpenSHMEM spec 1.5
  • Can use MPI_Accumulate to get value of all elements in ivars as it is always a contig buffer.

TODO

  • Implementation
  • 1-3 tests in tests/
  • Ensure correctness with SOS test suite
@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