Commit 4ab9c235 authored by Xin Zhao's avatar Xin Zhao Committed by Rob Latham
Browse files

Bug-fix: initialize sync_flag to MPIDI_RMA_SYNC_NONE.

MPIDI_RMA_NONE is the initial value of window state
and should not be used with sync flag. The initial
value of sync flag should be set to MPIDI_RMA_SYNC_NONE.
Signed-off-by: Rob Latham's avatarRob Latham <>
parent 28e79b31
......@@ -119,7 +119,7 @@ static inline MPIDI_RMA_Target_t *MPIDI_CH3I_Win_target_alloc(MPID_Win * win_ptr
e->disable_flush_local = 0;
e->win_complete_flag = 0;
e->sync.sync_flag = MPIDI_RMA_NONE;
e->sync.sync_flag = MPIDI_RMA_SYNC_NONE;
e->sync.outstanding_acks = 0;
e->sync.have_remote_incomplete_ops = 1; /* When I create a new target, there must be
incomplete ops until a FLUSH/UNLOCK packet
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