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

4.4.4  ordered Clause

Name: ordered

Properties: unique

Arguments

Name

Type

Properties

n

expression of integer type

optional, constant, positive

Directives

do

,

for

,

simd

Semantics

The ordered clause associates one or more loops with the directive on which it appears for the purpose of identifying cross-iteration dependences. The argument n specifies the number of loops of the associated loop to use for that purpose. If n is not specified then the behavior is as if n is specified with the same value as is specified for the collapse clause on the construct.

Restrictions

Cross References