Skip to content

Commit 3d1a7dd

Browse files
authored
Merge pull request #4271 from karasevb/oshmem/spec
oshmem: refactoring the definition of `SHMEM_ALLTOALLS_SYNC_SIZE`
2 parents 0ceed71 + 7479328 commit 3d1a7dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oshmem/include/shmem.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ enum shmem_wait_ops {
117117
#define _SHMEM_BCAST_SYNC_SIZE (1 + _SHMEM_BARRIER_SYNC_SIZE)
118118
#define _SHMEM_COLLECT_SYNC_SIZE (1 + _SHMEM_BCAST_SYNC_SIZE)
119119
#define _SHMEM_REDUCE_SYNC_SIZE (1 + _SHMEM_BCAST_SYNC_SIZE)
120-
#define _SHMEM_ALLTOALL_SYNC_SIZE (1)
121-
#define _SHMEM_ALLTOALLS_SYNC_SIZE (1)
120+
#define _SHMEM_ALLTOALL_SYNC_SIZE (_SHMEM_BARRIER_SYNC_SIZE)
121+
#define _SHMEM_ALLTOALLS_SYNC_SIZE (_SHMEM_BARRIER_SYNC_SIZE)
122122
#define _SHMEM_REDUCE_MIN_WRKDATA_SIZE (1)
123123
#define _SHMEM_SYNC_VALUE (-1)
124124

0 commit comments

Comments
 (0)