DEFAULT Clause

Parallel Directive Clause: Lets you specify a scope for all variables in the lexical extent of a parallel region.

Syntax

DEFAULT (PRIVATE | FIRSTPRIVATE | 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 common blocks are not affected by this clause.

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.