aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/kmp_os.h
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-10-08 21:25:30 +0000
committerDavid Carlier <devnexen@gmail.com>2019-10-08 21:25:30 +0000
commitcb6f3c46a841e47718564ca40f49af8bcfc57c3a (patch)
tree5b7d1c38316e0ff0b44ab49d4d5c9c22c0f1474d /runtime/src/kmp_os.h
parentace8505db1e11227e9007a2ac55ffaeccf88a65c (diff)
[OpenMP] Enable thread affinity on FreeBSD
Reviewers: chandlerc, jlpeyton, jdoerfert, dim Reviewed-By: dim Differential Revision: https://reviews.llvm.org/D68580 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@374118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/src/kmp_os.h')
-rw-r--r--runtime/src/kmp_os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/kmp_os.h b/runtime/src/kmp_os.h
index ca3af3a..cd942a9 100644
--- a/runtime/src/kmp_os.h
+++ b/runtime/src/kmp_os.h
@@ -69,7 +69,7 @@
#error Unknown compiler
#endif
-#if (KMP_OS_LINUX || KMP_OS_WINDOWS) && !KMP_OS_CNK
+#if (KMP_OS_LINUX || KMP_OS_WINDOWS || KMP_OS_FREEBSD) && !KMP_OS_CNK
#define KMP_AFFINITY_SUPPORTED 1
#if KMP_OS_WINDOWS && KMP_ARCH_X86_64
#define KMP_GROUP_AFFINITY 1