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 SIMD

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

Syntax

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

   loop-nest

[!$OMP END PARALLEL MASKED TASKLOOP SIMD]

clause

Can be any of the clauses accepted by the PARALLEL or MASKED TASKLOOP SIMD 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 SIMD construct nested inside of it. The semantics are identical to a MASKED TASKLOOP SIMD construct specified immediately after a PARALLEL construct.

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

See Also