Page MenuHomePhabricator

[OpenMP] Fix potential division by 0
ClosedPublic

Authored by Nawrin on Nov 6 2020, 9:03 AM.

Details

Summary

This patch fixes potential division by 0 in case hwloc does not recognize cores (or architecture has no cores).

Patch by Andrey Churbanov

Diff Detail

Event Timeline

Nawrin created this revision.Nov 6 2020, 9:03 AM
Nawrin requested review of this revision.Nov 6 2020, 9:03 AM
This revision is now accepted and ready to land.Nov 6 2020, 9:14 AM
This revision was automatically updated to reflect the committed changes.