Next: , Previous: , Up: Implementation Defined Pragmas   [Contents][Index]


2.6 Pragma Acc_Data

Syntax:

pragma Acc_Data ([ ACC_DATA_CLAUSE [, ACC_DATA_CLAUSE...]]);

ACC_DATA_CLAUSE ::=
    Copy          => IDENTIFIERS
  | Copy_In       => IDENTIFIERS
  | Copy_Out      => IDENTIFIERS
  | Create        => IDENTIFIERS
  | Device_Ptr    => IDENTIFIERS
  | Present       => IDENTIFIERS

Requires the -fopenacc flag.

Equivalent to the data directive of the OpenAcc standard. This pragma should be placed in loops.

For more information about the effect of the clauses, see the OpenAcc specification.