HOME
| OPENMP API Specification: Version 5.0 November 2018

2.13.10  parallel master taskloop simd Construct

SummaryThe parallel master taskloop simd construct is a shortcut for specifying a parallel construct containing a master taskloop simd construct and no other statements.

Syntax

SVG-Viewer needed.

The syntax of the parallel master taskloop simd construct is as follows:  

 
#pragma omp parallel master taskloop simd [clause[ [,] clause] ... ] new-line 
   for-loops  

where clause can be any of the clauses accepted by the parallel or master taskloop simd directives, except the in_reduction clause, with identical meanings and restrictions.

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the parallel master taskloop simd construct is as follows:  

 
!$omp parallel master taskloop simd [clause[ [,] clause] ... ] 
    do-loops 
[!$omp end parallel master taskloop simd]  

where clause can be any of the clauses accepted by the parallel or master taskloop simd directives, except the in_reduction clause, with identical meanings and restrictions.

If an end parallelmastertaskloop simd directive is not specified, an end parallel mastertaskloop simd directive is assumed at the end of the do-loops.

SVG-Viewer needed.

DescriptionThe semantics are identical to explicitly specifying a parallel directive immediately followed by a master taskloop simd directive.

RestrictionsThe restrictions for the parallel construct and the master taskloop simd construct apply.

Cross References