15.2.2.2 DEFAULT Clause (TU*X only)

The DEFAULT clause lets you specify a scope for all variables in the lexical extent of a parallel region. It takes the following form:

DEFAULT ( PRIVATE | SHARED | NONE )

The specifications have the following effects:

You can specify only one DEFAULT clause in a PARALLEL directive. You can exclude variables from a defined default by using the PRIVATE, SHARED, FIRSTPRIVATE, LASTPRIVATE, or REDUCTION clauses.

Variables in THREADPRIVATE (or TASKCOMMON) common blocks are not affected by this clause.


Previous Page Next Page Table of Contents