インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド
OpenMP* Fortran Compiler Directive: Specifies a wait for the completion of all child tasks of the current task and all of their descendant tasks.
!$OMP TASKGROUP
block
!$OMP END TASKGROUP
block |
Is a structured block (section) of statements or constructs. You cannot branch into or out of the block. |
The TASKGROUP region binds to the current task region. The binding thread set of the TASKGROUP region is the current team.
When a thread encounters a TASKGROUP construct, it starts executing the region. There is an implicit task scheduling point at the end of the TASKGROUP region. The current task is suspended at the task scheduling point until all child tasks that it generated in the TASKGROUP region and all of their descendant tasks complete execution.