This is an archive of the discontinued LLVM Phabricator instance.

Force serial reduction when team size == 1
ClosedPublic

Authored by jlpeyton on Aug 12 2015, 1:04 PM.

Details

Reviewers
hfinkel
Summary

This change enforces the use of the serial reduction method when the team size is 1 even if KMP_FORCE_REDUCTION is set. Using the serial reduction method avoids unnecessary synchronization and should always be used when the team size is 1.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 31972.Aug 12 2015, 1:04 PM
jlpeyton retitled this revision from to Force serial reduction when team size == 1.
jlpeyton updated this object.
jlpeyton added a reviewer: hfinkel.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
hfinkel accepted this revision.Aug 16 2015, 2:39 AM
hfinkel edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 16 2015, 2:39 AM
AndreyChurbanov added a subscriber: AndreyChurbanov.

Committed revision 245209.