Commit bf7f2f7f authored by Xin Zhao's avatar Xin Zhao Committed by Pavan Balaji
Browse files

Delete unnecessary progress in MPI_Win_fence.


Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
parent e9891eae
......@@ -354,18 +354,6 @@ int MPIDI_Win_fence(int assert, MPID_Win * win_ptr)
}
}
if (win_ptr->states.access_state == MPIDI_RMA_FENCE_ISSUED) {
while (win_ptr->states.access_state != MPIDI_RMA_FENCE_GRANTED) {
mpi_errno = wait_progress_engine();
if (mpi_errno != MPI_SUCCESS)
MPIU_ERR_POP(mpi_errno);
/* Mark that we triggered the progress engine
* in this function call. */
progress_engine_triggered = 1;
}
}
/* Set sync_flag in target structs. */
for (i = 0; i < win_ptr->num_slots; i++) {
curr_target = win_ptr->slots[i].target_list_head;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment