Skip to content

Commit

Permalink
spml/ucx: fix swap
Browse files Browse the repository at this point in the history
spml/ucx: fix swap
Signed-off-by: Michal Shalev <mshalev.nvidia.com>
  • Loading branch information
michal-shalev committed Nov 7, 2024
1 parent 32a86a4 commit c421b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oshmem/mca/spml/ucx/spml_ucx.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ int mca_spml_ucx_add_procs(oshmem_group_t* group, size_t nprocs)
swap_index = rand() % (proc_index + 1);
temp_index = indices[proc_index];
indices[proc_index] = indices[swap_index];
indices[proc_index] = temp_index;
indices[swap_index] = temp_index;
}

ep_params.field_mask = UCP_EP_PARAM_FIELD_REMOTE_ADDRESS;
Expand Down

0 comments on commit c421b4a

Please sign in to comment.