Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

PARALLEL MASKED TASKLOOP

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

Syntax

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

   loop-nest

[!$OMP END PARALLEL MASKED TASKLOOP]

clause

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

loop-nest

Is a nest of DO loops in canonical form.

This combined directive provides a shortcut for specifying a PARALLEL construct with a MASKED TASKLOOP construct nested inside of it. The semantics are identical to a MASKED TASKLOOP construct specified immediately after a PARALLEL construct.

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

See Also