1.. _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. 24