-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
53 lines (40 loc) · 1.01 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// To limit the number of nodes
#define NODELIMIT 15000
// Flag to give up when reaching nodelimit
// #define RUNOVERNODELIMIT
// To use access ops rather than read/write ops
// #define ACCESS
// To use heuristics that prevent false positives
#define ADDITIONS
// To process locks in the trace
// #define LOCKS
// To enable sanity checks
#define SANITYCHECK
// To set the datatype used for thread-id, op-id and block-id
// To use int datatype
#define SMALL
// To use long datatype
// #define LARGE
// To use long long datatype
// #define LARGEST
// To find data races also
// #define DATARACE
// To find unique races
// #define UNIQUERACE
// To use nodes for finding races
#define NODERACES
// To enable reporting of only single threaded races
// #define SINGLETHREADEDRACES
// To use extra rules
// #define EXTRARULES
// To enable MT and Cascaded loop rules
// #define ADVANCEDRULES
#ifdef SMALL
typedef int IDType;
#endif
#ifdef LARGE
typedef long IDType;
#endif
#ifdef LARGEST
typedef long long IDType;
#endif