Merge optimizations/fixes/changes from pami-bgq branch.
[charm.git] / src / arch / pami-bluegeneq / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_NO_OUTSTANDING_SENDS                           0
5
6 #define CMK_64BIT                                          1
7
8 //#define CMK_MEMORY_PREALLOCATE_HACK                        1
9
10 //#define CMK_CONVERSE_MPI                                   1
11
12 #define CMK_NO_SOCKETS                                     1
13
14 #define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
15
16 #define CMK_GETPAGESIZE_AVAILABLE                          1
17
18 #define CMK_IS_HETERO                                      0
19
20 #define CMK_MALLOC_USE_GNU_MALLOC                          0
21 #define CMK_MALLOC_USE_OS_BUILTIN                          1
22
23 #define CMK_MEMORY_PAGESIZE                                8192
24 #define CMK_MEMORY_PROTECTABLE                             1
25
26 #define CMK_NODE_QUEUE_AVAILABLE                           0
27
28 #define CMK_SHARED_VARS_EXEMPLAR                           0
29 #define CMK_SHARED_VARS_UNAVAILABLE                        1
30 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
31
32 #define CMK_SIGNAL_NOT_NEEDED                              0
33 #define CMK_SIGNAL_USE_SIGACTION                           0
34 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
35
36 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
37
38 #define CMK_THREADS_USE_CONTEXT                            0
39 #define CMK_THREADS_USE_JCONTEXT                           1
40 #define CMK_THREADS_USE_PTHREADS                           0
41 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
42
43 #define CMK_THREADS_REQUIRE_NO_CPV                         0
44
45 #define CMK_TIMER_USE_GETRUSAGE                            0
46 #define CMK_TIMER_USE_SPECIAL                              0
47 #define CMK_TIMER_USE_TIMES                                0
48 // This needs to be compiled with gcc only
49 #define CMK_TIMER_USE_BLUEGENEQ                            1
50
51 #define CMK_TYPEDEF_INT2 short
52 #define CMK_TYPEDEF_INT4 int
53 #define CMK_TYPEDEF_INT8 long long
54 #define CMK_TYPEDEF_UINT2 unsigned short
55 #define CMK_TYPEDEF_UINT4 unsigned int
56 #define CMK_TYPEDEF_UINT8 unsigned long long
57 #define CMK_TYPEDEF_FLOAT4 float
58 #define CMK_TYPEDEF_FLOAT8 double
59
60 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
61 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
62
63
64 #define CMK_WEB_MODE                                       1
65 #define CMK_DEBUG_MODE                                     0
66
67 #define CMK_LBDB_ON                                        1
68
69 #undef CMK_CCS_AVAILABLE
70 #define CMK_CCS_AVAILABLE                                  0
71
72 #define CMK_BLUEGENEQ                                      1
73
74 #define CMK_NO_ISO_MALLOC                                  1
75
76 #endif
77