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

10.3  order Clause

Name: order

Properties: unique

Arguments

Name

Type

Properties

ordering

Keyword: concurrent

default

Modifiers

Name

Modifies

Type

Properties

order-modifier

ordering

Keyword: reproducible, unconstrained

default

Directives

distribute, do, for, loop, simd

Semantics

The order clause specifies an ordering of execution for the iterations of the associated loops of a loop-associated directive. If ordering is concurrent, the logical iterations of the associated loops may execute in any order, including concurrently.

The order-modifier on the order clause affects the schedule specification for the purpose of determining its consistency with other schedules (see Section 4.4.5). If order-modifier is reproducible, the loop schedule for the construct on which the clause appears is reproducible, whereas if order-modifier is unconstrained, the loop schedule is not reproducible.

Restrictions

Restrictions to the order clause are as follows:

Cross References