Commit f344bc2e authored by James Dinan's avatar James Dinan
Browse files

[svn-r10591] Moved device-only MPID_Win members to CH3

Moved fence_issued and start_assert MPID_Win members into CH3.  These should
not be a required part of the ADI, since they are not needed above the ADI and
implementations should be free to choose different mechanisms for tracking
the state of synchronization operations.

Reviewer: buntinas
parent b054ac23
......@@ -1651,15 +1651,12 @@ typedef struct MPID_RMA_Ops {
S*/
typedef struct MPID_Win {
MPIU_OBJECT_HEADER; /* adds handle and ref_count fields */
int fence_issued; /* Indicates if fence has been called, and if an
active target fence epoch is possible. */
MPID_Errhandler *errhandler; /* Pointer to the error handler structure */
void *base;
MPI_Aint size;
int disp_unit; /* Displacement unit of *local* window */
MPID_Attribute *attributes;
MPID_Group *start_group_ptr; /* group passed in MPI_Win_start */
int start_assert; /* assert passed to MPI_Win_start */
MPID_Comm *comm_ptr; /* Pointer to comm of window (dup) */
int myrank; /* Rank of this process in comm (used to
detect operations on self) */
......
......@@ -254,6 +254,9 @@ struct MPIDI_Win_target_state {
struct MPIDI_Win_target_state *targets; \
enum MPIDI_Win_epoch_states epoch_state; \
int epoch_count; \
int fence_issued; /* Indicates if fence has been called, and if an \
active target fence epoch is possible. */ \
int start_assert; /* assert passed to MPI_Win_start */ \
#ifdef MPIDI_CH3_WIN_DECL
#define MPID_DEV_WIN_DECL \
......
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