HOME
| OPENMP API Specification: Version 5.0 November 2018

2.13.16  target parallel Construct

SummaryThe targetparallel construct is a shortcut for specifying a target construct containing a parallel construct and no other statements.

Syntax

SVG-Viewer needed.

The syntax of the targetparallel construct is as follows:  

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

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

SVG-Viewer needed.

SVG-Viewer needed.

The syntax of the targetparallel construct is as follows:  

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

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

SVG-Viewer needed.

DescriptionThe semantics are identical to explicitly specifying a target directive immediately followed by a parallel directive.

Restrictions The restrictions for the target and parallel constructs apply except for the following explicit modifications:

Cross References