PARALUTION  1.0.0
PARALUTION
def.hpp
Go to the documentation of this file.
1 #ifndef PARALUTION_UTILS_DEF_HPP_
2 #define PARALUTION_UTILS_DEF_HPP_
3 
4 // Uncomment to define verbose level
5 #define VERBOSE_LEVEL 2
6 
7 
8 // Uncomment for debug mode
9 // #define DEBUG_MODE
10 
11 // Uncomment to log all msg to file
12 // #define LOG_FILE
13 
14 // Uncomment to disable the assert()s
15 //#define ASSERT_OFF
16 
17 // Uncomment to disable automatic object tracking
18 // #define OBJ_TRACKING_OFF
19 
20 
21 
22 
23 // ******************
24 // ******************
25 // Do not edit below!
26 // ******************
27 // ******************
28 
29 #ifdef ASSERT_OFF
30 
31 #define assert(a) ;
32 
33 #else
34 
35 #include <assert.h>
36 
37 #endif
38 
39 
40 #ifdef DEBUG_MODE
41 
42 #define assert_dbg(a) assert(a)
43 
44 #else
45 
46 #define assert_dbg(a) ;
47 
48 #endif
49 
50 #if defined(SUPPORT_CUDA) || defined(SUPPORT_OCL) || defined(SUPPORT_MIC)
51 
52 #undef SUPPORT_COMPLEX
53 
54 #else
55 
56 #define SUPPORT_COMPLEX
57 
58 #endif
59 
60 
61 #endif // PARALUTION_UTILS_DEF_HPP_