The in_reduction clause specifies that a task participates in a reduction defined by an enclosing region for a matching list item that appears in a task_reduction clause or a reduction clause with the task modifier. If the construct in which the in_reduction clause appears is:
- task: the generated task becomes the participating task. For each list item, a private copy may be created as if the private clause had been used.
- target: the target task becomes the participating task. For each list item, a private copy will be created in the data environment of the target task as if the private clause had been used, and this private copy will be implicitly mapped into the device data environment of the target device.
in_reduction(identifier : list)