Intel® Fortran Compiler 18.0 Developer Guide and Reference
OpenMP* Fortran Compiler Directive: Creates a device data environment and executes the construct on the same device. It also creates a league of thread teams with the master thread in each team executing the structured block. This directive only applies when targeting Intel® Xeon Phi™ products.
!$OMP TARGET TEAMS [clause[[,] clause]... ]
block
!$OMP END TARGET TEAMS
clause |
Can be any of the clauses accepted by the TARGET or TEAMS directives with identical meanings and restrictions. |
block |
Is a structured block (section) of statements or constructs. No branching into or out of the block of code is allowed. |
This directive provides a shortcut for specifying a TARGET construct immediately followed by a TEAMS construct.