This is an archive of the discontinued LLVM Phabricator instance.

Add initial OpenMP 4.5 task priority feature
ClosedPublic

Authored by jlpeyton on Feb 18 2016, 1:45 PM.

Details

Summary

The maximum task priority value is read from envirable OMP_MAX_TASK_PRIORITY. But as of now, nothing is done with it.
We just handle the environment variable and add the new api: omp_get_max_task_priority() which returns that value or zero if it is not set.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 48399.Feb 18 2016, 1:45 PM
jlpeyton retitled this revision from to Add initial OpenMP 4.5 task priority feature.
jlpeyton updated this object.
jlpeyton added reviewers: tlwilmar, AndreyChurbanov.
jlpeyton set the repository for this revision to rL LLVM.
AndreyChurbanov accepted this revision.Feb 25 2016, 8:26 AM
AndreyChurbanov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 25 2016, 8:26 AM
This revision was automatically updated to reflect the committed changes.