The syntax of the targetsimd construct is as follows:
#pragma omp target simd [clause[ [,] clause] ... ] new-line
for-loops
where clause can be any of the clauses accepted by the target or simd directives with identical meanings and restrictions.
SummaryThe targetsimd construct is a shortcut for specifying a target construct containing a simd construct and no other statements.
Syntax
The syntax of the targetsimd construct is as follows:
!$omp target simd [clause[ [,] clause] ... ]
do-loops
[!$omp end target simd]
where clause can be any of the clauses accepted by the target or simd directives with identical meanings and restrictions.
If an end target simd directive is not specified, an end target simd directive is assumed at the end of the do-loops.
DescriptionThe semantics are identical to explicitly specifying a target directive immediately followed by a simd directive.
Restrictions The restrictions for the target and simd constructs apply.