HOME
| OPENMP API Specification: Version 5.0 November 2018

2.13.9  parallel master taskloop Construct

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

Syntax

SVG-Viewer needed.

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

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

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

SVG-Viewer needed.

SVG-Viewer needed.

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

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

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

If an end parallel master taskloop directive is not specified, an end parallel master taskloop 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 directive.

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

Cross References