Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/mpid/ch4/netmod/ofi/ofi_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ static int win_allgather(MPIR_Win * win, void *base, int disp_unit)

MPIR_FUNC_ENTER;

load_acc_hint(win);

if (!MPIDI_OFI_ENABLE_MR_PROV_KEY) {
if (MPIDIG_WIN(win, info_args).optimized_mr &&
MPIDIG_WIN(win, info_args).accumulate_ordering == 0) {
Expand Down Expand Up @@ -209,8 +211,6 @@ static int win_allgather(MPIR_Win * win, void *base, int disp_unit)
MPIR_ERR_CHECK(mpi_errno);
}
} else if (win->create_flavor == MPI_WIN_FLAVOR_DYNAMIC) {
/* We may still do native atomics with collective attach, let's load acc_hint */
load_acc_hint(win);
goto fn_exit;
} else {
/* Do nothing */
Expand Down Expand Up @@ -260,8 +260,6 @@ static int win_allgather(MPIR_Win * win, void *base, int disp_unit)
}
}

load_acc_hint(win);

fn_exit:
MPIR_FUNC_EXIT;
return mpi_errno;
Expand Down