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

9.2  unroll Construct

Name: unroll

Association: loop

Category: executable

Properties: pure

Clauses

full, partial

  10.1.2  num_threads Clause   10.1.3  Controlling OpenMP Thread Affinity   10.1.4  proc_bind Clause

Clause set

Properties: exclusive

Members: full, partial

Semantics

The unroll construct unrolls the outermost loop of the loop nest according to its specified clause. If no clauses are specified, if and how the loop is unrolled is implementation defined. The unroll construct results in a generated loop that has canonical loop nest form if and only if the partial clause is specified.

Cross References