This is an archive of the discontinued LLVM Phabricator instance.

Fix honoring of OMP_THREAD_LIMIT in the teams construct
ClosedPublic

Authored by jlpeyton on Nov 16 2015, 2:36 PM.

Details

Summary

Fix for crash in the teams construct in case user sets OMP_THREAD_LIMIT to a number less than the number of processors. Now the number of threads will be silently reduced if the user didn't specify teams parameters or with a warning if the user specified teams parameters conflicting with OMP_THREAD_LIMIT.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 40344.Nov 16 2015, 2:36 PM
jlpeyton retitled this revision from to Fix honoring of OMP_THREAD_LIMIT in the teams construct.
jlpeyton updated this object.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
tlwilmar accepted this revision.Nov 30 2015, 11:59 AM
tlwilmar edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 30 2015, 11:59 AM
This revision was automatically updated to reflect the committed changes.