HOME
| OPENMP API Specification: Version 5.1 November 2020

2.11.3  order Clause

Summary The order clause specifies an expected order of execution for the iterations of the associated loops of a loop-associated directive.

Syntax The syntax of the order clause is as follows:  

 
order([ order-modifier :]concurrent)  

where order-modifier is one of the following:  

 
  reproducible 
  unconstrained  

Description The order clause specifies an expected order of execution for the iterations of the associated loops of a loop-associated directive. The specified order must be concurrent.

The order clause is part of the schedule specification for the purpose of determining its consistency with other schedules (see Section 2.11.2).

If the order clause specifies concurrent, the logical iterations of the associated loops may execute in any order, including concurrently.

If order-modifier is not unconstrained, the behavior is as if the reproducible modifier is present.

The specified schedule is reproducible if the reproducible modifier is present.

Restrictions Restrictions to the order clause are as follows: