Visible to Intel only — GUID: GUID-C8BEC5B5-8AAF-438A-ABAB-22A0FC98BB31
Visible to Intel only — GUID: GUID-C8BEC5B5-8AAF-438A-ABAB-22A0FC98BB31
TARGET SIMD
OpenMP* Fortran Compiler Directive: Specifies a TARGET construct that contains a SIMD construct and no other statement.
!$OMP TARGET SIMD [clause[[,] clause] ... ]
do-loop
[!$OMP END TARGET SIMD]
clause |
Can be any of the clauses accepted by the TARGET or SIMD directive, with identical meanings and restrictions |
do-loop |
Is one or more DO iterations (DO loops). The DO iteration cannot be a DO WHILE or a DO loop without loop control. The DO loop iteration variable must be of type integer. All loops associated with the construct must be structured and perfectly nested; that is, there must be no intervening code and no other OpenMP* Fortran directives between any two loops. The iterations of the DO loop are distributed across the existing team of threads. The values of the loop control parameters of the DO loop associated with a DO directive must be the same for all the threads in the team. You cannot branch out of a DO loop associated with a DO SIMD directive. |
If the END TARGET SIMD directive is not specified, an END TARGET SIMD directive is assumed at the end of do-loop.
The restrictions for the TARGET and SIMD constructs apply to this directive.