This is an archive of the discontinued LLVM Phabricator instance.

Improvements to machine_hierarchy code for re-sizing
ClosedPublic

Authored by jlpeyton on Nov 6 2015, 10:59 AM.

Details

Summary

These changes include:

  1. Machine hierarchy now uses the base_num_threads field to indicate the maximum number of threads the current hierarchy can handle without a resize.
  2. In __kmp_get_hierarchy, we need to get depth after any potential resize is done.
  3. Cleanup of hierarchy resize code to support 1 above.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 39561.Nov 6 2015, 10:59 AM
jlpeyton retitled this revision from to Improvements to machine_hierarchy code for re-sizing.
jlpeyton updated this object.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
tlwilmar accepted this revision.Nov 6 2015, 12:23 PM
tlwilmar edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 6 2015, 12:23 PM
This revision was automatically updated to reflect the committed changes.