Page MenuHomePhabricator

Fix depth field bug and resize() function in hierarchical barrier
ClosedPublic

Authored by jlpeyton on Sep 2 2015, 10:47 AM.

Details

Summary

This is a follow up to the hierarchy cleanup patch.

Added some clarifying comments to hierarchy_info.
Fixed a bug with the depth field not being updated cleanly during a resize.
Fixed resize to first check capacity as determined by maxLevels before actually doing the full resize.

Diff Detail

Event Timeline

jlpeyton updated this revision to Diff 33824.Sep 2 2015, 10:47 AM
jlpeyton retitled this revision from to Fix depth field bug and resize() function in hierarchical barrier.
jlpeyton updated this object.
jlpeyton added reviewers: AndreyChurbanov, hfinkel.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
AndreyChurbanov accepted this revision.Sep 8 2015, 9:35 AM
AndreyChurbanov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Sep 8 2015, 9:35 AM
This revision was automatically updated to reflect the committed changes.