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.
!$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.
To learn more about canonical form loops, see the OpenMP* specification https://www.openmp.org/specifications/