HOME
| OPENMP API Specification: Version 5.1 November 2020

2.16.6  parallel masked Construct

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

Syntax

SVG-Viewer needed.

The syntax of the parallel masked construct is as follows:  

 
#pragma omp parallel masked [clause[ [,] clause] ... ] new-line 
   structured-block  

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

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the parallel masked construct is as follows:  

 
!$omp parallel masked [clause[ [,] clause] ... ] 
   loosely-structured-block  
!$omp end parallel masked  

or  

 
!$omp parallel masked [clause[ [,] clause] ... ] 
   strictly-structured-block  
[!$omp end parallel masked]  

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

SVG-Viewer needed.

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

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

Restrictions The restrictions for the parallel construct and the masked construct apply.

Cross References