Visible to Intel only — GUID: GUID-580AF479-029A-4328-AC3A-82719CB3882B
Visible to Intel only — GUID: GUID-580AF479-029A-4328-AC3A-82719CB3882B
TEAMS LOOP
OpenMP* Fortran Compiler Directive: Specifies a shortcut for specifying a LOOP construct inside a TEAMS construct. This feature is only available for ifx.
Syntax
!$OMP TEAMS LOOP [clause[[,] clause]... ]
do-loop
[!$OMP END TEAMS LOOP]
clause |
Can be any of the clauses accepted by the TEAMS or LOOP directives with identical meanings and restrictions. |
do-loop |
Is a DO loop that may contain other nested DO loops. The DO loops must all be in canonical form. The DO loop iteration variable must be of type integer. |
This combined directive is semantically equivalent to a LOOP construct that immediately follows a TEAMS directive. All restrictions for TEAMS and LOOP constructs apply to this combined construct.
If used, the END TEAMS LOOP directive must appear immediately after the end of the loop. If you do not specify an END TEAMS LOOP directive, an END TEAMS LOOP directive is assumed at the end of the do-loop.