Skip to content

Commit c8d3ad0

Browse files
authored
Merge pull request #5983 from yosefe/topic/scoll-basic-fix-pSync
SCOLL/BASIC: Fix invalid pSync pointer passed to barrier func
2 parents a1e85b0 + 6754bf1 commit c8d3ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oshmem/mca/scoll/basic/scoll_basic_alltoall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ int mca_scoll_basic_alltoall(struct oshmem_group_t *group,
7979

8080
/* Wait for operation completion */
8181
SCOLL_VERBOSE(14, "[#%d] Wait for operation completion", group->my_pe);
82-
rc = BARRIER_FUNC(group, pSync + 1, SCOLL_DEFAULT_ALG);
82+
rc = BARRIER_FUNC(group, pSync, SCOLL_DEFAULT_ALG);
8383

8484
/* Restore initial values */
8585
SCOLL_VERBOSE(12, "PE#%d Restore special synchronization array",

0 commit comments

Comments
 (0)