Intel® Fortran Compiler 16.0 User and Reference Guide

TARGET TEAMS

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 to Intel® MIC Architecture.

Syntax

!$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.

See Also