HOME
| OPENMP API Specification: Version 5.1 November 2020

2.16.9  parallel masked taskloop Construct

Summary The parallel masked taskloop construct is a shortcut for specifying a parallel construct containing a masked taskloop construct and no other statements.

SVG-Viewer needed.

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

 
#pragma omp parallel masked taskloop [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 parallel or masked taskloop directives, except the in_reduction clause, with identical meanings and restrictions.

SVG-Viewer needed.

SVG-Viewer needed.

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

 
!$omp parallel masked taskloop [clause[ [,] clause] ... ] 
    loop-nest 
[!$omp end parallel masked taskloop]  
where loop-nest is a canonical loop nest and clause can be any of the clauses accepted by the parallel or masked taskloop directives, except the in_reduction clause, with identical meanings and restrictions.

If an end parallel masked taskloop directive is not specified, an end parallel masked taskloop directive is assumed at the end of the loop-nest.

SVG-Viewer needed.

The parallel master taskloop construct, which has been deprecated, has identical syntax to the parallel masked taskloop construct other than the use of parallel master taskloop as the directive name.

Description The semantics are identical to explicitly specifying a parallel directive immediately followed by a masked taskloop directive.

Restrictions The restrictions for the parallel construct and the masked taskloop construct apply except for the following explicit modifications:

Cross References