oshmpi icon indicating copy to clipboard operation
oshmpi copied to clipboard

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

Open minsii opened this issue 4 years ago • 0 comments

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 avatar Mar 03 '21 20:03 minsii