Merge optimizations/fixes/changes from pami-bgq branch.
[charm.git] / src / arch / pami-bluegeneq / conv-mach-smp.h
1
2 #define CMK_SMP                                            1
3
4 #undef CMK_NODE_QUEUE_AVAILABLE
5 #define CMK_NODE_QUEUE_AVAILABLE                           1
6
7 #undef CMK_SHARED_VARS_UNAVAILABLE
8 #undef CMK_SHARED_VARS_POSIX_THREADS_SMP
9 #define CMK_SHARED_VARS_UNAVAILABLE                        0
10 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
11
12 /* Right now only comm thread (no multicore) and tls thread version with gcc works on Blue Gene*/
13 #define CMK_MULTICORE                                      0
14
15 #ifdef __GNUC__
16 #define CMK_NOT_USE_TLS_THREAD                             0
17 #else
18 #define CMK_NOT_USE_TLS_THREAD                             0
19 #endif
20
21 #define CMK_PCQUEUE_LOCK                                   1
22 /*#define PCQUEUE_MULTIQUEUE                                 1*/
23
24 #define CMK_SMP_NO_COMMTHD                                 1
25
26 #define CMK_FAKE_SCHED_YIELD                               1