This is an archive of the discontinued LLVM Phabricator instance.

Fix for KMP_AFFINITY=disabled and KMP_TOPOLOGY_METHOD=hwloc
ClosedPublic

Authored by jlpeyton on May 15 2017, 12:05 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton created this revision.May 15 2017, 12:05 PM
This revision is now accepted and ready to land.May 31 2017, 1:15 PM
This revision was automatically updated to reflect the committed changes.