We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4b98d7 + e06a5cd commit 86961a2Copy full SHA for 86961a2
ompi/mca/osc/rdma/osc_rdma_active_target.c
@@ -429,14 +429,14 @@ int ompi_osc_rdma_complete_atomic (ompi_win_t *win)
429
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "complete: %s", win->w_name);
430
431
OPAL_THREAD_LOCK(&module->lock);
432
- if (0 == sync->num_peers) {
+ if (OMPI_OSC_RDMA_SYNC_TYPE_PSCW != sync->type) {
433
OPAL_THREAD_UNLOCK(&module->lock);
434
- return OMPI_SUCCESS;
+ return OMPI_ERR_RMA_SYNC;
435
}
436
437
- if (OMPI_OSC_RDMA_SYNC_TYPE_PSCW != sync->type) {
+ if (0 == sync->num_peers) {
438
439
- return OMPI_ERR_RMA_SYNC;
+ return OMPI_SUCCESS;
440
441
442
/* phase 1 cleanup sync object */
0 commit comments