18#define KMP_VERSION_BUILD 20140926
21#define _stringer(x) #x
22#define stringer(x) _stringer(x)
26#define KMP_COMPILER __VERSION__
28#if __INTEL_COMPILER == 1010
29#define KMP_COMPILER "Intel(R) C++ Compiler 10.1"
30#elif __INTEL_COMPILER == 1100
31#define KMP_COMPILER "Intel(R) C++ Compiler 11.0"
32#elif __INTEL_COMPILER == 1110
33#define KMP_COMPILER "Intel(R) C++ Compiler 11.1"
34#elif __INTEL_COMPILER == 1200
35#define KMP_COMPILER "Intel(R) C++ Compiler 12.0"
36#elif __INTEL_COMPILER == 1210
37#define KMP_COMPILER "Intel(R) C++ Compiler 12.1"
38#elif __INTEL_COMPILER == 1300
39#define KMP_COMPILER "Intel(R) C++ Compiler 13.0"
40#elif __INTEL_COMPILER == 1310
41#define KMP_COMPILER "Intel(R) C++ Compiler 13.1"
42#elif __INTEL_COMPILER == 1400
43#define KMP_COMPILER "Intel(R) C++ Compiler 14.0"
44#elif __INTEL_COMPILER == 1410
45#define KMP_COMPILER "Intel(R) C++ Compiler 14.1"
46#elif __INTEL_COMPILER == 1500
47#define KMP_COMPILER "Intel(R) C++ Compiler 15.0"
48#elif __INTEL_COMPILER == 1600
49#define KMP_COMPILER "Intel(R) C++ Compiler 16.0"
50#elif __INTEL_COMPILER == 1700
51#define KMP_COMPILER "Intel(R) C++ Compiler 17.0"
52#elif __INTEL_COMPILER == 1800
53#define KMP_COMPILER "Intel(R) C++ Compiler 18.0"
54#elif __INTEL_COMPILER == 1900
55#define KMP_COMPILER "Intel(R) C++ Compiler 19.0"
56#elif __INTEL_COMPILER == 1910
57#define KMP_COMPILER "Intel(R) C++ Compiler 19.1"
58#elif __INTEL_COMPILER > 1910
60 "Intel(R) C++ Compiler Classic " stringer(__INTEL_COMPILER) "." stringer( \
61 __INTEL_COMPILER_UPDATE)
63#elif KMP_COMPILER_CLANG
65 "Clang " stringer(__clang_major__) "." stringer(__clang_minor__)
67#define KMP_COMPILER "GCC " stringer(__GNUC__) "." stringer(__GNUC_MINOR__)
68#elif KMP_COMPILER_MSVC
69#define KMP_COMPILER "MSVC " stringer(_MSC_FULL_VER)
72#warning "Unknown compiler"
73#define KMP_COMPILER "unknown compiler"
78#define KMP_LIB_TYPE "stub"
80#define KMP_LIB_TYPE "performance"
85#define KMP_LINK_TYPE "dynamic"
87#define KMP_LINK_TYPE "static"
91#define KMP_LIBRARY KMP_LIB_TYPE " library (" KMP_LINK_TYPE ")"
92#define KMP_COPYRIGHT ""
150#if defined(KMP_GOMP_COMPAT)
162 &buffer,
"%s%s barrier branch bits: gather=%u, release=%u\n",
169 &buffer,
"%s%s barrier pattern: gather=%s, release=%s\n",
181 (KMP_AFFINITY_CAPABLE()
182 ? (__kmp_affinity.type == affinity_none ?
"not used" :
"yes")
190 K_DIAG(1, (
"KMP_VERSION is true\n"));
char const * __kmp_barrier_type_name[bs_last_barrier]
char const * __kmp_barrier_pattern_name[bp_last_bar]
kmp_bar_pat_e __kmp_barrier_gather_pattern[bs_last_barrier]
kmp_uint32 __kmp_barrier_release_branch_bits[bs_last_barrier]
int __kmp_env_consistency_check
kmp_uint32 __kmp_barrier_gather_branch_bits[bs_last_barrier]
kmp_bar_pat_e __kmp_barrier_release_pattern[bs_last_barrier]
void __kmp_printf(char const *format,...)
#define KMP_AFFINITY_SUPPORTED
char const __kmp_version_omp_api[]
void __kmp_str_buf_free(kmp_str_buf_t *buffer)
int __kmp_str_buf_print(kmp_str_buf_t *buffer, char const *format,...)
#define __kmp_str_buf_init(b)
int const __kmp_version_build
char const __kmp_version_build_time[]
char const __kmp_copyright[]
char const __kmp_version_build_compiler[]
char const __kmp_version_lib_type[]
#define KMP_VERSION_BUILD
void __kmp_print_version_1(void)
char const __kmp_version_link_type[]
static int __kmp_version_1_printed
char const __kmp_version_copyright[]
void __kmp_print_version_2(void)
char const __kmp_version_lib_ver[]
int const __kmp_version_minor
int const __kmp_version_major
static int __kmp_version_2_printed
int const __kmp_openmp_version
#define KMP_VERSION_PREFIX
char const __kmp_version_alt_comp[]
char const __kmp_version_target_env[]
char const __kmp_version_lock[]
#define KMP_VERSION_MINOR
#define KMP_VERSION_MAGIC_LEN
#define KMP_VERSION_PREF_STR