2.5.1 parallel for Construct
The parallel for directive is a shortcut for a parallel region that contains only a single for directive. The syntax of the parallel for directive is as follows:
#pragma omp parallel for [clause[[,] clause] ...] new-line
for-loop
This directive allows all the clauses of the parallel directive and the for directive, except the nowait clause, with identical meanings and restrictions. The semantics are identical to explicitly specifying a parallel directive immediately followed by a for directive.
Cross References:
parallel directive, see Section 2.3 on page 8.
for directive, see Section 2.4.1 on page 11.
Data attribute clauses, see 2.7.2 Data-Sharing Attribute Clauses on page 25.