HOME
| OPENMP API Specification: Version 5.1 November 2020

2.16.12  teams distribute simd Construct

Summary The teams distribute simd construct is a shortcut for specifying a teams construct containing a distribute simd construct and no other statements.

Syntax

SVG-Viewer needed.

The syntax of the teams distribute simd construct is as follows:  

 
#pragma omp teams distribute simd [clause[ [,] clause] ... ] new-line 
    loop-nest  

where loop-nest is a canonical loop nest and clause can be any of the clauses accepted by the teams or distribute simd directives with identical meanings and restrictions.

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the teams distribute simd construct is as follows:  

 
!$omp teams distribute simd [clause[ [,] clause] ... ] 
    loop-nest 
[!$omp end teams distribute simd]  

where loop-nest is a canonical loop nest and clause can be any of the clauses accepted by the teams or distribute simd directives with identical meanings and restrictions.

If an end teams distribute simd directive is not specified, an end teamsdistribute simd directive is assumed at the end of the loop-nest.

SVG-Viewer needed.

Description The semantics are identical to explicitly specifying a teams directive immediately followed by a distribute simd directive.

Restrictions The restrictions for the teams and distribute simd constructs apply.

Cross References