This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] libomp cleanup: check presence of hwloc objects CORE, PACKAGE
ClosedPublic

Authored by AndreyChurbanov on Jul 17 2020, 11:29 AM.

Details

Summary

hwloc documentation guarantees the only object that is always present
in topology is PU. We can check the presence of other objects in the topology
just in case.

Diff Detail

Event Timeline

hbae accepted this revision.Jul 17 2020, 2:26 PM

LGTM.

This revision is now accepted and ready to land.Jul 17 2020, 2:26 PM
This revision was automatically updated to reflect the committed changes.