Sun Studio 12 Update 1: OpenMP API User's Guide

6.1.1 __auto Clause



The __auto clause on a parallel construct directs the compiler to automatically determine the scope of the named variables in the construct. (Note the two underscores before auto.)

The __auto clause can appear on a PARALLEL, PARALLEL DO/for, PARALLEL SECTIONS, or on a Fortran 95 PARALLEL WORKSHARE directive.

If a variable is specified on the __auto clause, then it cannot be specified in any other data scope clause.