oshmpi
oshmpi copied to clipboard
Wait: extend wait_until|test with all|any|some
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. UseMPI_Accumulateto get all elements at a time.
TODO
- Implementation
- 1-3 tests in
tests/