PARALLEL MASKED

OpenMP* Fortran Compiler Directive: Creates a PARALLEL construct containing a MASKED construct, with no Fortran statements in the PARALLEL construct which are not also in the MASKED construct. This feature is only available for ifx.

Syntax

!$OMP PARALLEL MASKED [clause[[,] clause]... ]

   block

!$OMP END PARALLEL MASKED

clause

Can be any of the clauses accepted by the PARALLEL or MASKED directives with identical meanings and restrictions.

block

Is one or more Fortran statements and/or constructs.

This combined directive provides a shortcut for specifying a PARALLEL construct with a MASKED construct nested inside of it. The semantics are identical to a MASKED construct specified immediately after a PARALLEL construct; the only Fortran statements in the construct are inside the block.

All restrictions for PARALLEL and MASKED constructs apply to this combined construct.

See Also