Intel® Fortran Compiler 16.0 User and Reference Guide
This table lists the general directives that affect DO loops:
The PREFETCH and NOPREFETCH directives also affect DO loops, but they are only available on Intel® MIC Architecture.
The following rules apply to all of the general directives:
The directive must precede the DO statement for each DO loop it affects. The DO statement can be any of the following:
A counted DO loop
A DO WHILE loop
A DO CONCURRENT loop
No source code lines, other than the following, can be placed between the directive statement and the DO statement:
One of the other general directives that affect DO loops
An OpenMP* Fortran PARALLEL DO directive
Comment lines
Blank lines
Other rules may apply to these directives. For more information, see the description of each directive.