HomePhabricator

Improve performance of #pragma omp single

Description

Improve performance of #pragma omp single

EPCC Performance of single is considerably worse than plain barrier.
Adding a read-only check to the code before the atomic compare-and-store
helps considerably.

Patch by Terry Wilmarth.

Differential Revision: http://reviews.llvm.org/D21893

Details

Committed
jlpeytonJul 1 2016, 10:37 AM
Differential Revision
D21893: Improve performance of #pragma omp single
Branches
Unknown
Tags
Unknown