HOME
| OPENMP API Specification: Version 5.0 November 2018

2.13.11  teams distribute Construct

SummaryThe teams distribute construct is a shortcut for specifying a teams construct containing a distribute construct and no other statements.

Syntax

SVG-Viewer needed.

The syntax of the teams distribute construct is as follows:  

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

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

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the teams distribute construct is as follows:  

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

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

If an end teams distribute directive is not specified, an end teams distribute 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 directive.

RestrictionsThe restrictions for the teams and distribute constructs apply.

Cross References