]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libomp/kmp_config.h
Add two missing eventhandler.h headers
[FreeBSD/FreeBSD.git] / lib / libomp / kmp_config.h
1 // $FreeBSD$
2 /*
3  * kmp_config.h -- Feature macros
4  */
5 //===----------------------------------------------------------------------===//
6 //
7 //                     The LLVM Compiler Infrastructure
8 //
9 // This file is dual licensed under the MIT and the University of Illinois Open
10 // Source Licenses. See LICENSE.txt for details.
11 //
12 //===----------------------------------------------------------------------===//
13 #ifndef KMP_CONFIG_H
14 #define KMP_CONFIG_H
15
16 #include "kmp_platform.h"
17
18 // cmakedefine01 MACRO will define MACRO as either 0 or 1
19 // cmakedefine MACRO 1 will define MACRO as 1 or leave undefined
20 #define DEBUG_BUILD 0
21 #define RELWITHDEBINFO_BUILD 0
22 #define LIBOMP_USE_ITT_NOTIFY 1
23 #define USE_ITT_NOTIFY LIBOMP_USE_ITT_NOTIFY
24 #if ! LIBOMP_USE_ITT_NOTIFY
25 # define INTEL_NO_ITTNOTIFY_API
26 #endif
27 #define LIBOMP_USE_VERSION_SYMBOLS 1
28 #if LIBOMP_USE_VERSION_SYMBOLS
29 # define KMP_USE_VERSION_SYMBOLS
30 #endif
31 #define LIBOMP_HAVE_WEAK_ATTRIBUTE 1
32 #define KMP_HAVE_WEAK_ATTRIBUTE LIBOMP_HAVE_WEAK_ATTRIBUTE
33 #define LIBOMP_HAVE_PSAPI 0
34 #define KMP_HAVE_PSAPI LIBOMP_HAVE_PSAPI
35 #define LIBOMP_STATS 0
36 #define KMP_STATS_ENABLED LIBOMP_STATS
37 #define LIBOMP_HAVE_X86INTRIN_H 0
38 #define KMP_HAVE_X86INTRIN_H LIBOMP_HAVE_X86INTRIN_H
39 #define LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER 0
40 #define KMP_HAVE___BUILTIN_READCYCLECOUNTER LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER
41 #define LIBOMP_HAVE___RDTSC 0
42 #define KMP_HAVE___RDTSC LIBOMP_HAVE___RDTSC
43 #define LIBOMP_USE_DEBUGGER 0
44 #define USE_DEBUGGER LIBOMP_USE_DEBUGGER
45 #define LIBOMP_OMPT_DEBUG 0
46 #define OMPT_DEBUG LIBOMP_OMPT_DEBUG
47 #define LIBOMP_OMPT_SUPPORT 1
48 #define OMPT_SUPPORT LIBOMP_OMPT_SUPPORT
49 #define LIBOMP_OMPT_OPTIONAL 1
50 #define OMPT_OPTIONAL LIBOMP_OMPT_OPTIONAL
51 #define LIBOMP_USE_ADAPTIVE_LOCKS 1
52 #define KMP_USE_ADAPTIVE_LOCKS LIBOMP_USE_ADAPTIVE_LOCKS
53 #define KMP_DEBUG_ADAPTIVE_LOCKS 0
54 #define LIBOMP_USE_INTERNODE_ALIGNMENT 0
55 #define KMP_USE_INTERNODE_ALIGNMENT LIBOMP_USE_INTERNODE_ALIGNMENT
56 #define LIBOMP_ENABLE_ASSERTIONS 1
57 #define KMP_USE_ASSERT LIBOMP_ENABLE_ASSERTIONS
58 #define LIBOMP_USE_HIER_SCHED 0
59 #define KMP_USE_HIER_SCHED LIBOMP_USE_HIER_SCHED
60 #define STUBS_LIBRARY 0
61 #define LIBOMP_USE_HWLOC 0
62 #define KMP_USE_HWLOC LIBOMP_USE_HWLOC
63 #define LIBOMP_ENABLE_SHARED 1
64 #define KMP_DYNAMIC_LIB LIBOMP_ENABLE_SHARED
65 #define KMP_ARCH_STR "Intel(R) 64"
66 #define KMP_LIBRARY_FILE "libomp.so"
67 #define KMP_VERSION_MAJOR 5
68 #define KMP_VERSION_MINOR 0
69 #define LIBOMP_OMP_VERSION 50
70 #define OMP_50_ENABLED (LIBOMP_OMP_VERSION >= 50)
71 #define OMP_45_ENABLED (LIBOMP_OMP_VERSION >= 45)
72 #define OMP_40_ENABLED (LIBOMP_OMP_VERSION >= 40)
73 #define OMP_30_ENABLED (LIBOMP_OMP_VERSION >= 30)
74 #define LIBOMP_TSAN_SUPPORT 0
75 #if LIBOMP_TSAN_SUPPORT
76 #define TSAN_SUPPORT
77 #endif
78 #define MSVC 0
79 #define KMP_MSVC_COMPAT MSVC
80
81 // Configured cache line based on architecture
82 #if KMP_ARCH_PPC64
83 # define CACHE_LINE 128
84 #else
85 # define CACHE_LINE 64
86 #endif
87
88 #if ! KMP_32_BIT_ARCH
89 # define BUILD_I8 1
90 #endif
91
92 #define KMP_NESTED_HOT_TEAMS 1
93 #define KMP_ADJUST_BLOCKTIME 1
94 #define BUILD_PARALLEL_ORDERED 1
95 #define KMP_ASM_INTRINS 1
96 #define USE_ITT_BUILD LIBOMP_USE_ITT_NOTIFY
97 #define INTEL_ITTNOTIFY_PREFIX __kmp_itt_
98 #if ! KMP_MIC
99 # define USE_LOAD_BALANCE 1
100 #endif
101 #if ! (KMP_OS_WINDOWS || KMP_OS_DARWIN)
102 # define KMP_TDATA_GTID 1
103 #endif
104 #if STUBS_LIBRARY
105 # define KMP_STUB 1
106 #endif
107 #if DEBUG_BUILD || RELWITHDEBINFO_BUILD
108 # define KMP_DEBUG 1
109 #endif
110
111 #if KMP_OS_WINDOWS
112 # define KMP_WIN_CDECL
113 #else
114 # define BUILD_TV
115 # define KMP_GOMP_COMPAT
116 #endif
117
118 #endif // KMP_CONFIG_H