HOME
| OPENMP API Specification: Version 5.1 November 2020

2.16.10  parallel masked taskloop simd Construct

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

Syntax

SVG-Viewer needed.

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

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

SVG-Viewer needed.

SVG-Viewer needed.

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

 
!$omp parallel masked taskloop simd [clause[ [,] clause] ... ] 
    loop-nest 
[!$omp end parallel masked taskloop simd]  

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

If an end parallelmaskedtaskloop simd directive is not specified, an end parallel maskedtaskloop simd directive is assumed at the end of the loop-nest.

SVG-Viewer needed.

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

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

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

Cross References