Developer Guide and Reference

Contents

intel_omp_taskq

For Intel legacy tasking, specifies an environment for the while loop in which to queue the units of work specified by the enclosed
task
pragma.

Syntax

#pragma intel_omp_taskq
[
clause
[[
,
]
clause
]
...
]
structured-block
Arguments
clause
Can be any of the following:
private
(
variable-list
)
Creates a private, default-constructed version for each object in
variable-list
for the
taskq
. It also implies
captureprivate
on each enclosed task. The original object referenced by each variable has an indeterminate value upon entry to the construct, must not be modified within the dynamic extent of the construct, and has an indeterminate value upon exit from the construct.
firstprivate
(
variable-list
)
Creates a private, copy-constructed version for each object in
variable-list
for the
taskq
. It also implies
captureprivate
on each enclosed task. The original object referenced by each variable must not be modified within the dynamic extent of the construct and has an indeterminate value upon exit from the construct.
lastprivate
(
variable-list
)
Creates a private, default-constructed version for each object in
variable-list
for the
taskq
. It also implies
captureprivate
on each enclosed task. The original object referenced by each variable has an indeterminate value upon entry to the construct, must not be modified within the dynamic extent of the construct, and is copy-assigned the value of the object from the last enclosed task after that task completes execution.
reduction
(
operator
:
variable-list
)
Performs a reduction operation with the given operator in enclosed task constructs for each object in
variable-list
.