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

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

MASKED TASKLOOP SIMD

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

Syntax

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

   loop-nest

[!$OMP END MASKED TASKLOOP SIMD]

clause

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

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

See Also