diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2017-05-31 20:35:22 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2017-05-31 20:35:22 +0000 |
commit | e3e2aaf68d991321c881e5b2ce002849988eeb42 (patch) | |
tree | 6f0e388d01bc625a73070875504ba04113d67d66 /llvm/unittests/ADT/ArrayRefTest.cpp | |
parent | 9f5df8b02e27703b2f1febd51dac3450d6431345 (diff) | |
download | llvm-e3e2aaf68d991321c881e5b2ce002849988eeb42.zip llvm-e3e2aaf68d991321c881e5b2ce002849988eeb42.tar.gz llvm-e3e2aaf68d991321c881e5b2ce002849988eeb42.tar.bz2 |
Fix for KMP_AFFINITY=disabled and KMP_TOPOLOGY_METHOD=hwloc
With these settings, the create_hwloc_map() method was being called causing an
assert(). After some consideration, it was determined that disabling affinity
explicitly should just disable hwloc as well. i.e., KMP_AFFINITY overrides
KMP_TOPOLOGY_METHOD. This lets the user know that the Hwloc mechanism is being
ignored when KMP_AFFINITY=disabled.
Differential Revision: https://reviews.llvm.org/D33208
llvm-svn: 304344
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions