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

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

MASTER TASKLOOP SIMD

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

Syntax

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

   loop-nest

[!$OMP END MASTER TASKLOOP SIMD]

clause

Can be any of the clauses accepted by the MASTER 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 MASTER construct with a TASKLOOP SIMD construct nested inside of it. The semantics are identical to a TASKLOOP SIMD construct specified immediately after a MASTER construct; the only Fortran statements in the construct are inside the block.

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

The MASTER TASKLOOP SIMD directive is deprecated; you should use the MASKED TASKLOOP SIMD directive.

See Also