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

Exit Print View

Updated: December 2014
 
 

6.2.2 default(__auto) Clause

Syntax: default(__auto)

For Fortran, DEFAULT(__AUTO) is also accepted.

The default(__auto) clause can appear on a parallel directive (including parallel for/do, parallel sections, and Fortran parallel workshare directive), or on a task directive.

The default(__auto) clause on a parallel or task construct directs the compiler to automatically determine the scopes of all variables referenced in the construct that are not explicitly scoped in any data scope clause.