Page MenuHomePhabricator

Improve performance of #pragma omp single

Authored by tlwilmar on Jun 30 2016, 7:51 AM.



Performance of single was considerably worse than plain barrier.
Adding a check to the code before the atomic compare and store helped

Patch by Terry Wilmarth.

Diff Detail

Event Timeline

tlwilmar updated this revision to Diff 62360.Jun 30 2016, 7:51 AM
tlwilmar retitled this revision from to Improve performance of #pragma omp single.
tlwilmar updated this object.
tlwilmar added reviewers: AndreyChurbanov, hbae.
tlwilmar set the repository for this revision to rL LLVM.
tlwilmar added a subscriber: openmp-commits.
hbae accepted this revision.Jun 30 2016, 8:07 AM
hbae edited edge metadata.


This revision is now accepted and ready to land.Jun 30 2016, 8:07 AM
This revision was automatically updated to reflect the committed changes.