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_taskdeps.h | |
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_taskdeps.h')
-rw-r--r-- | runtime/src/kmp_taskdeps.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/runtime/src/kmp_taskdeps.h b/runtime/src/kmp_taskdeps.h index 8496884d1c3a0..2a712b348af6e 100644 --- a/runtime/src/kmp_taskdeps.h +++ b/runtime/src/kmp_taskdeps.h @@ -5,10 +5,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 // //===----------------------------------------------------------------------===// @@ -18,8 +17,6 @@ #include "kmp.h" -#if OMP_40_ENABLED - #define KMP_ACQUIRE_DEPNODE(gtid, n) __kmp_acquire_lock(&(n)->dn.lock, (gtid)) #define KMP_RELEASE_DEPNODE(gtid, n) __kmp_release_lock(&(n)->dn.lock, (gtid)) @@ -145,6 +142,4 @@ static inline void __kmp_release_deps(kmp_int32 gtid, kmp_taskdata_t *task) { gtid, task)); } -#endif // OMP_40_ENABLED - #endif // KMP_TASKDEPS_H |