HOME
| OPENMP API Specification: "Version 5.2 -- GIT rev 95b2e3a44"

5.4.1  default Clause

Name: default

Properties: unique

Arguments

Name

Type

Properties

data-sharing-attribute

Keyword: firstprivate, none, private, shared

default

Directives

parallel

,

task

,

taskloop

,

teams

Semantics

The default clause determines the implicit data-sharing attribute of certain variables that are referenced in the construct, in accordance with the rules given in Section 5.1.1.

If data-sharing-attribute is not none, the data-sharing attribute of all variables referenced in the construct that have implicitly determined data-sharing attributes will be data-sharing-attribute. If data-sharing-attribute is none, the data-sharing attribute is not implicitly determined.

Restrictions

Restrictions to the default clause are as follows:

Cross References