Closed nspark closed 5 years ago
The current PR #50 deprecates barrier altogether... Some issues with barrier under the current model:
The current PR says that users should migrate away from barrier to use quiet followed by sync.
Closed per merge of sync/barrier updates
The opening text for
shmem_barrier_all
says:While the opening text for
shmem_barrier
says:As we update the specification for teams and add predefined teams like
SHMEM_TEAM_WORLD
, I think it makes more sense to specify the semantics forshmem_team_barrier
andshmem_barrier
(on active sets) first, then defineshmem_barrier_all
asshmem_team_barrier(SHMEM_TEAM_WORLD)
. Further, we can do the same for theshmem_sync
family of functions, and define theshmem_barrier
family in terms ofshmem_team_sync
andshmem_ctx_quiet
.Semantically, this would be a no-op change with respect to OpenSHMEM 1.4, however, it would be a nontrivial textual change.