Next: Pragma Ada_83, Previous: Pragma Acc_Kernels, Up: Implementation Defined Pragmas [Contents][Index]
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.