This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fixed taskloop recursive splitting so that taskloop tasks have same parent tasks.
ClosedPublic

Authored by AndreyChurbanov on May 26 2020, 10:48 AM.

Details

Summary

The "taskloop nogroup" was broken because of taskloop tasks had different parent tasks if recursive splitting algorithm used.

The patch fixes this making all generated tasks have same parent task regardless of generating thread and task (taskloop tasks can be generated by different threads at different levels of recursive splitting process), this is done for both actual taskloop tasks and auxiliary tasks used for recursive splitting of iteration space.

Diff Detail

Event Timeline

This revision is now accepted and ready to land.May 26 2020, 3:27 PM
AndreyChurbanov edited the summary of this revision. (Show Details)Jun 1 2020, 7:45 AM
This revision was automatically updated to reflect the committed changes.