Oracle® Solaris Studio 12.4: OpenMP API User's Guide

Exit Print View

Updated: December 2014
 
 

6.3 Scoping Rules for a parallel Construct

When doing automatic scoping, the compiler applies the rules described in this section to determine the scope of a variable in a parallel construct. These rules do not apply to variables scoped implicitly by the OpenMP specification, such as loop index variables of worksharing for/do loops.