Skip to content

Commit 68c88e8

Browse files
author
Valentin Petrov
committed
OSC/UCX: use correct rkey for atomic_fadd in rget/rput
Signed-off-by: Valentin Petrov <[email protected]>
1 parent 5d6657e commit 68c88e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/osc/ucx/osc_ucx_comm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
881881

882882
CHECK_VALID_RKEY(module, target, target_count);
883883

884-
rkey = (module->win_info_array[target]).rkey;
884+
rkey = (module->state_info_array[target]).rkey;
885885

886886
OMPI_OSC_UCX_REQUEST_ALLOC(win, ucx_req);
887887
assert(NULL != ucx_req);
@@ -942,7 +942,7 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
942942

943943
CHECK_VALID_RKEY(module, target, target_count);
944944

945-
rkey = (module->win_info_array[target]).rkey;
945+
rkey = (module->state_info_array[target]).rkey;
946946

947947
OMPI_OSC_UCX_REQUEST_ALLOC(win, ucx_req);
948948
assert(NULL != ucx_req);

0 commit comments

Comments
 (0)