diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:52:04 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:52:04 +0000 |
commit | 1756886afc900127720de68088f9adff3108ef61 (patch) | |
tree | d4c46dc43cbf2f632d3c575a6d01716370a7b45b /runtime/src/kmp_version.cpp | |
parent | 4254a3821b2072ba01f8f7e3347ac862d324babc (diff) |
vendor/llvm-openmp/openmp-trunk-r366426vendor/llvm-openmp/openmp-release_900-r372316vendor/llvm-openmp/openmp-release_90-r371301vendor/llvm-openmp/openmp-release_90-r370514vendor/llvm-openmp/openmp-release_90-r369369vendor/llvm-openmp-90
Notes
Diffstat (limited to 'runtime/src/kmp_version.cpp')
-rw-r--r-- | runtime/src/kmp_version.cpp | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/runtime/src/kmp_version.cpp b/runtime/src/kmp_version.cpp index e138e869208d7..7464d19726843 100644 --- a/runtime/src/kmp_version.cpp +++ b/runtime/src/kmp_version.cpp @@ -4,10 +4,9 @@ //===----------------------------------------------------------------------===// // -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.txt for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -50,9 +49,9 @@ #define KMP_COMPILER "Intel(R) C++ Compiler 17.0" #elif __INTEL_COMPILER == 1800 #define KMP_COMPILER "Intel(R) C++ Compiler 18.0" -#elif __INTEL_COMPILER == 9998 -#define KMP_COMPILER "Intel(R) C++ Compiler mainline" -#elif __INTEL_COMPILER == 9999 +#elif __INTEL_COMPILER == 1900 +#define KMP_COMPILER "Intel(R) C++ Compiler 19.0" +#elif __INTEL_COMPILER >= 9900 #define KMP_COMPILER "Intel(R) C++ Compiler mainline" #endif #elif KMP_COMPILER_CLANG @@ -89,16 +88,7 @@ int const __kmp_version_major = KMP_VERSION_MAJOR; int const __kmp_version_minor = KMP_VERSION_MINOR; int const __kmp_version_build = KMP_VERSION_BUILD; -int const __kmp_openmp_version = -#if OMP_50_ENABLED - 201611; -#elif OMP_45_ENABLED - 201511; -#elif OMP_40_ENABLED - 201307; -#else - 201107; -#endif +int const __kmp_openmp_version = 201611; /* Do NOT change the format of this string! Intel(R) Thread Profiler checks for a specific format some changes in the recognition routine there need to be |