This is an archive of the discontinued LLVM Phabricator instance.

Add new OpenMP 4.5 taskloop construct feature
ClosedPublic

Authored by jlpeyton on Feb 18 2016, 11:39 AM.

Details

Summary

From the standard: The taskloop construct specifies that the iterations of one
or more associated loops will be executed in parallel using OpenMP tasks. The
iterations are distributed across tasks created by the construct and scheduled
to be executed.

This initial implementation uses a simple linear tasks distribution algorithm.
Later we can add other algorithms to speedup generation of huge number of tasks
(i.e., tree-like tasks generation should be faster).

This needs to be put into the OpenMP runtime library in order for the
compiler team to develop the compiler side of the implementation.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 48378.Feb 18 2016, 11:39 AM
jlpeyton retitled this revision from to Add new OpenMP 4.5 taskloop construct feature.
jlpeyton updated this object.
jlpeyton set the repository for this revision to rL LLVM.
AndreyChurbanov accepted this revision.Mar 1 2016, 8:50 AM
AndreyChurbanov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 1 2016, 8:50 AM
This revision was automatically updated to reflect the committed changes.