Commit b6922dac authored by David Goodell's avatar David Goodell
Browse files

[svn-r3148] Minor change: use the MPIR_Context_id_t in the MPIDI_Message_match structure.

This paves the way for some context ID handling changes Pavan is about to make.
parent c4086a33
......@@ -1134,10 +1134,6 @@ extern MPID_Group MPID_Group_direct[];
/* ------------------------------------------------------------------------- */
/* FIXME MPI_UNSIGNED_SHORT will not always be the same size as uint16_t. */
#define MPIR_CONTEXT_ID_T_DATATYPE MPI_UNSIGNED_SHORT
typedef uint16_t MPIR_Context_id_t;
/*E
MPID_Comm_kind_t - Name the two types of communicators
E*/
......
......@@ -55,6 +55,10 @@
#include "mpiiov.h"
/* FIXME MPI_UNSIGNED_SHORT will not always be the same size as uint16_t. */
#define MPIR_CONTEXT_ID_T_DATATYPE MPI_UNSIGNED_SHORT
typedef uint16_t MPIR_Context_id_t;
typedef MPIU_SIZE_T MPIU_Size_t;
/* Use the MPIU_PtrToXXX macros to convert pointers to and from integer types */
......
......@@ -67,7 +67,7 @@ typedef struct MPIDI_Message_match
{
int32_t tag;
int16_t rank;
int16_t context_id;
MPIR_Context_id_t context_id;
}
MPIDI_Message_match;
#define MPIDI_TAG_UB (0x7fffffff)
......
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