Skip to content

Commit 5f786bc

Browse files
committed
UCX osc: make MPI_Fetch_and_op non-blocking if possible
Signed-off-by: Joseph Schuchart <[email protected]>
1 parent d8696aa commit 5f786bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/mca/osc/ucx/osc_ucx_comm.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,9 @@ int ompi_osc_ucx_fetch_and_op(const void *origin_addr, void *result_addr,
816816
}
817817
}
818818

819-
ret = opal_common_ucx_wpmem_fetch(module->mem, opcode, value, target,
820-
(void *)result_addr, dt_bytes, remote_addr);
819+
ret = opal_common_ucx_wpmem_fetch_nb(module->mem, opcode, value, target,
820+
(void *)result_addr, dt_bytes,
821+
remote_addr, NULL, NULL);
821822

822823
if (module->acc_single_intrinsic) {
823824
return ret;

0 commit comments

Comments
 (0)