Name: task_reduction | Properties: data-environment attribute, data-sharing attribute, privatization, reduction scoping |
|
Arguments
Name | Type | Properties |
list | list of variable list item type | |
|
Modifiers
Name | Modifies | Type | Properties |
reduction-identifier | list | An OpenMP reduction identifier | required, ultimate |
|
Directives
taskgroupSemantics
The task_reduction clause is a reduction scoping clause, as described in Section 5.5.6, that specifies a reduction among tasks. For each list item, the number of copies is unspecified. Any copies associated with the reduction are initialized before they are accessed by the tasks that participate in the reduction. After the end of the region, the original list item contains the result of the reduction.Restrictions
Restrictions to the task_reduction clause are as follows:Cross References