インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド
Some of the OpenMP* Fortran directives have clauses (or options) you can specify to control the scope attributes of variables for the duration of the directive.
The data motion clause MAP is used in OpenMP* Fortran TARGET directives. This data motion clause does not modify the values of any of the internal control variables (ICVs).
List items that appear in this data motion clause may have corresponding new list items created in the device data environment that is associated with the construct. If a new list item is created, a new list item of the same type, kind, and rank is allocated. The initial value of the new list item is undefined.
The original list items and new list items may share storage. This means that data races can occur. Data races are caused by unintended sharing of data; for example, when WRITEs to either item by one task or device are followed by a READ of the other item by another task or device without intervening synchronization.
Other clauses (or options) are available for some OpenMP Fortran directives. For more information, see each directive description.
Name |
Description |
---|---|
Specifies that the data in the master thread of the team is to be copied to the thread private copies of the common block at the beginning of the parallel region. |
|
Uses a private variable to broadcast a value, or a pointer to a shared object, from one member of a team to the other members. The COPYPRIVATE clause can only appear in the END SINGLE directive. |
|
Lets you specify a scope for all variables in the lexical extent of a parallel region. |
|
Provides a superset of the functionality provided by the PRIVATE clause. It declares one or more variables to be private to each thread in a team, and initializes each of them with the value of the corresponding original variable. |
|
Provides a superset of the functionality provided by the PRIVATE clause. It declares one or more variables to be private to an implicit task, and causes the corresponding original variable to be updated after the end of the region. |
|
Declares one or more variables to be private to each thread in a team. |
|
Performs a reduction operation on the specified variables. |
|
Specifies variables that will be shared by all the threads in a team. |