aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-06-16 20:23:11 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-06-16 20:23:11 +0000
commit0f3c2b921d044cd1dc6747b8db5082e4f930b59c (patch)
tree5147aaaef94b8d68bf5311ef99555d6213c35fdd /llvm/lib/CodeGen/SafeStack.cpp
parentc505ab6733997775b4aa9cd64cca455b79a7a371 (diff)
downloadllvm-0f3c2b921d044cd1dc6747b8db5082e4f930b59c.zip
llvm-0f3c2b921d044cd1dc6747b8db5082e4f930b59c.tar.gz
llvm-0f3c2b921d044cd1dc6747b8db5082e4f930b59c.tar.bz2
Teach OpenMP Library to use Hwloc on Windows
This patch allows a user to enable Hwloc on windows. There are three main changes in here: 1.kmp.h - Move definitions/declarations out of KMP_OS_WINDOWS guard (our windows implementation of affinity) because they need to be defined when KMP_USE_HWLOC is on as well. 2.teach __kmp_set_system_affinity, __kmp_get_system_affinity, __kmp_get_proc_group, and __kmp_affinity_bind_thread how to use hwloc. 3.teach CMake how to include hwloc when building Windows Another minor change in here is to make sure that anything under KMP_USE_HWLOC is also guarded by KMP_AFFINITY_SUPPORTED as well. This is to prevent Mac builds from requiring anything from Hwloc. Differential Revision: http://reviews.llvm.org/D21441 llvm-svn: 272951
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions