Skip to content

Commit

Permalink
Merge pull request #9598 from hppritcha/topic/issue_9556_v4.1.x
Browse files Browse the repository at this point in the history
OSC-RDMA: PSCW fix
  • Loading branch information
bwbarrett authored Oct 27, 2021
2 parents 2fb5690 + f15dec8 commit 4dad9ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ompi/mca/osc/rdma/osc_rdma_active_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,11 @@ int ompi_osc_rdma_complete_atomic (ompi_win_t *win)
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "complete: %s", win->w_name);

OPAL_THREAD_LOCK(&module->lock);
if (0 == sync->num_peers) {
OPAL_THREAD_UNLOCK(&module->lock);
return OMPI_SUCCESS;
}

if (OMPI_OSC_RDMA_SYNC_TYPE_PSCW != sync->type) {
OPAL_THREAD_UNLOCK(&module->lock);
return OMPI_ERR_RMA_SYNC;
Expand Down

0 comments on commit 4dad9ea

Please sign in to comment.