Page MenuHomePhabricator

[OpenMP] Fix potential integer overflow in dynamic schedule code
ClosedPublic

Authored by jlpeyton on Feb 15 2021, 9:45 PM.

Details

Summary

Restrict the chunk_size * chunk_num to only occur for valid chunk_nums and reimplement calculating the limit to avoid overflow.

Diff Detail

Event Timeline

jlpeyton created this revision.Feb 15 2021, 9:45 PM
jlpeyton requested review of this revision.Feb 15 2021, 9:45 PM
This revision is now accepted and ready to land.Feb 27 2021, 11:38 AM
This revision was landed with ongoing or failed builds.Mar 8 2021, 7:43 AM
This revision was automatically updated to reflect the committed changes.