Skip to content

Conversation

@karasevb
Copy link
Member

@karasevb karasevb commented Sep 26, 2017

This PR is refactoring of PR #4269.

Since the value of SHMEM_ALLTOALLS_SYNC_SIZE depends on _SHMEM_BARRIER_SYNC_SIZEas can be seen here: scoll_basic_barrier.c where pSync defined as long pSync[SHMEM_ALLTOALL_SYNC_SIZE];, so SHMEM_ALLTOALLS_SYNC_SIZE should be equal with _SHMEM_BARRIER_SYNC_SIZE

Signed-off-by: Boris Karasev karasev.b@gmail.com

Signed-off-by: Boris Karasev <karasev.b@gmail.com>
@artpol84
Copy link
Contributor

@miked-mellanox @jladd-mlnx please double check

@artpol84
Copy link
Contributor

artpol84 commented Sep 26, 2017

The main idea here is that for alltoall and alltoalls pSync object is simply forwarded to the barrier primitive https://github.com/open-mpi/ompi/blob/master/oshmem/mca/scoll/basic/scoll_basic_alltoall.c#L116:L118
and so the size of pSync for alltoall and alltoalls should be the same as for barrier for the current implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants