af1a0c30111cb1529106c445c55f4a1dc9583217
[charm.git] / src / arch / gni / conv-common.h
1
2 #define CMK_USE_LRTS                                      1
3
4 #define CMK_HAS_PARTITION                                  1
5 #define CMK_HAS_INTEROP                                    1
6
7 #define CMK_CONVERSE_UGNI                                  1
8
9 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
10
11 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
12
13 #define CMI_MACH_TRACE_USEREVENTS                          0
14
15 //#define  DELTA_COMPRESS                                     1
16
17 #define CMK_HANDLE_SIGUSR                                  0
18
19 #if DELTA_COMPRESS
20 #if CMK_ERROR_CHECKING
21 #define CMK_MSG_HEADER_EXT_    CmiUInt4 size; CmiUInt2 seq; unsigned char cksum, magic; CmiUInt2 rank,hdl,xhdl,info,type,redID; CmiInt4 root; CmiUInt4 compressStart; CmiUInt2 compress_flag,xxhdl; CmiUInt8 persistRecvHandler; CmiUInt1 zcMsgType:2;
22 #else
23 #define CMK_MSG_HEADER_EXT_    CmiUInt4 size; CmiUInt4 seq; CmiUInt2 rank,hdl,xhdl,info,type,redID; CmiInt4 root; CmiUInt4 compressStart; CmiUInt2 compress_flag,xxhdl; CmiUInt8 persistRecvHandler; CmiUInt1 zcMsgType:2;
24 #endif
25 #else 
26 #if CMK_ERROR_CHECKING
27 #define CMK_MSG_HEADER_EXT_    CmiUInt4 size; CmiUInt2 seq; unsigned char cksum, magic; CmiUInt2 rank,hdl,xhdl,info,type,redID; CmiInt4 root; CmiUInt1 zcMsgType:2;
28 #else
29 #define CMK_MSG_HEADER_EXT_    CmiUInt4 size; CmiUInt4 seq; CmiUInt2 rank,hdl,xhdl,info,type,redID; CmiInt4 root; CmiUInt1 zcMsgType:2;
30 #endif
31 #endif
32
33 #define CMK_MSG_HEADER_BASIC  CMK_MSG_HEADER_EXT
34 #define CMK_MSG_HEADER_EXT    { CMK_MSG_HEADER_EXT_ }
35 #define CMK_MSG_HEADER_BIGSIM_    { CMK_MSG_HEADER_EXT_ CMK_BIGSIM_FIELDS }
36
37 #define CMK_MULTICAST_GROUP_TYPE                struct { unsigned pe, id; }
38 #define CMK_MULTICAST_DEF_USE_COMMON_CODE                  1
39 #define CMK_MULTICAST_LIST_USE_COMMON_CODE                 1
40 #define CMK_MULTICAST_GROUP_USE_COMMON_CODE                1
41
42 #define CMK_SSH_IS_A_COMMAND                               0
43 #define CMK_SSH_NOT_NEEDED                                 1
44
45 #define CMK_SPANTREE_MAXSPAN                               4
46 #define CMK_SPANTREE_USE_COMMON_CODE                       1
47
48 #define CMK_VECTOR_SEND_USES_COMMON_CODE                   1
49
50 #define NODE_0_IS_CONVHOST                                 1
51
52 #define CMK_USE_OOB                                        0
53
54 #define CMK_IMMEDIATE_MSG                                  1
55 #define CMK_MACHINE_PROGRESS_DEFINED                       1
56
57 #define CMK_LB_CPUTIMER                                    0
58
59 #define CMK_USE_COMMON_LOCK                                1
60
61 #define CMK_ONESIDED_IMPL                                1
62
63 #define CMK_CMA_MIN                                        65536
64
65 #define CMK_CMA_MAX                                        1048576
66
67 #define CMK_NOCOPY_DIRECT_BYTES                           16
68
69 #define CMK_REG_REQUIRED                                   1
70
71 #define CMK_CONVERSE_MPI                                   0