blob: 2170c0acf97580797d7f6c1620ceb83b56a9e7ca [file] [log] [blame]
Johannes Doerfert3c8a4c62022-01-22 22:24:521.. _omp190:
2
3Redundant barrier eliminated. (device only)
4====================================================================
5
6This optimization remark indicates that analysis determined an aligned
7barrier in the device code to be redundant. This can occur when state
8updates that have been synchronized by the barrier were eliminated too.
9See also "Co-Designing an OpenMP GPU Runtime and Optimizations for Near-Zero
10Overhead Execution", IPDPS'22.
11
12Example
13-------
14
15This optimization will trigger for most target regions if state initialization
16was removed as a consequence of "state forwarding". This will trigger for
17internal runtime functions so it requires enabling verbose remarks with
18`-openmp-opt-verbose-remarks` (prefixed with `-mllvm` for use with clang).
19
20Diagnostic Scope
21----------------
22
23OpenMP optimization remark.