Fork me on GitHub

OpenMP Directives: Data Scope Attribute Clauses: DEFAULT Clause

Purpose:

The DEFAULT clause allows the user to specify a default scope for all variables in the lexical extent of any parallel region.

Format:

Fortran

DEFAULT (PRIVATE | FIRSTPRIVATE | SHARED | NONE)

C/C++

default (shared | none)

Notes:

Restrictions:

Only one DEFAULT clause can be specified on a PARALLEL directive.