libxmp/libxmpf in Omni Compiler  1.3.4
xmpco_params.h
Go to the documentation of this file.
1 #ifndef _XMPCO_PARAMS_H
2 #define _XMPCO_PARAMS_H
3 
4 
7 #define _XMPCO_default_poolThreshold (40*1024*1024) // 40MB
8 
12 #define _XMPCO_default_localBufSize (400000) // ~400kB
13 
14 #define _XMPCO_default_isMsgMode FALSE
15 #define _XMPCO_default_isSafeBufferMode FALSE
16 #define _XMPCO_default_isSyncPutMode FALSE
17 #define _XMPCO_default_isEagerCommMode FALSE
18 
19 
24 #if defined(_XMP_FJRDMA)
25 # define COMM_UNIT ((size_t)4)
26 # define MALLOC_UNIT ((size_t)8)
27 # define ONESIDED_COMM_LAYER "FJRDMA"
28 #elif defined(_XMP_GASNET)
29 # define COMM_UNIT ((size_t)1)
30 # define MALLOC_UNIT ((size_t)4)
31 # define ONESIDED_COMM_LAYER "GASNET"
32 #elif defined(_XMP_MPI3_ONESIDED)
33 # define COMM_UNIT ((size_t)1)
34 # define MALLOC_UNIT ((size_t)4)
35 # define ONESIDED_COMM_LAYER "MPI3"
36 #else
37 # define COMM_UNIT ((size_t)1)
38 # define MALLOC_UNIT ((size_t)4)
39 # define ONESIDED_COMM_LAYER "unknown"
40 #endif
41 
42 
43 #endif /*_XMPCO_PARAMS_H*/