HOME
| OPENMP API Specification: Version 5.1 November 2020

2.16.8  masked taskloop simd Construct

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

Syntax

SVG-Viewer needed.

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

 
#pragma omp 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 masked or taskloop simd directives with identical meanings and restrictions.

SVG-Viewer needed.

SVG-Viewer needed.

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

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

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

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

SVG-Viewer needed.

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

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

Restrictions The restrictions for the masked and taskloop simd constructs apply.

Cross References