HOME
| OPENMP API Specification: Version 5.0 November 2018

2.13.14  Teams Distribute Parallel Worksharing-Loop SIMD Construct

SummaryThe teams distribute parallel worksharing-loop SIMD construct is a shortcut for specifying a teams construct containing a distribute parallel worksharing-loop SIMD construct and no other statements.

Syntax

SVG-Viewer needed.

The syntax of the teams distribute parallel worksharing-loop SIMD construct is as follows:  

 
#pragma omp teams distribute parallel for simd \ 
            [clause[ [,] clause] ... ] new-line 
    for-loops  

where clause can be any of the clauses accepted by the teams or distribute parallelfor simd directives with identical meanings and restrictions.

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the teams distribute parallel worksharing-loop SIMD construct is as follows:  

 
!$omp teams distribute parallel do simd [clause[ [,] clause] ... ] 
    do-loops 
[!$omp end teams distribute parallel do simd]  

where clause can be any of the clauses accepted by the teams or distributeparalleldo simd directives with identical meanings and restrictions.

If an end teamsdistributeparalleldo simd directive is not specified, an end teams distributeparalleldo simd directive is assumed at the end of the do-loops.

SVG-Viewer needed.

DescriptionThe semantics are identical to explicitly specifying a teams directive immediately followed by a distribute parallel worksharing-loop SIMD directive.

RestrictionsThe restrictions for the teams and distribute parallel worksharing-loop SIMD constructs apply.

Cross References