Page MenuHomePhabricator

Fix machine topology pruning.
ClosedPublic

Authored by jlpeyton on Jul 13 2015, 1:52 PM.

Details

Summary

This patch fixes a bug when eliminating layers in the machine topology (namely cores, and threads). Before this patch, if a user specifies using only one thread per socket, then affinity is not set properly due to bad topology pruning.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 29602.Jul 13 2015, 1:52 PM
jlpeyton retitled this revision from to Fix machine topology pruning..
jlpeyton updated this object.
jlpeyton added a reviewer: hfinkel.
jlpeyton set the repository for this revision to rL LLVM.
tlwilmar accepted this revision.Aug 25 2015, 11:39 AM
tlwilmar added a reviewer: tlwilmar.
tlwilmar added a subscriber: tlwilmar.

LGTM.

This revision is now accepted and ready to land.Aug 25 2015, 11:39 AM
This revision was automatically updated to reflect the committed changes.