GNU Compiler Collection (GCC) Internals: OpenACC

Previous: OpenMP, Up: Statements [Contents][Index]

#### 11.7.8 OpenACC

All the statements starting with `OACC_` represent directives and clauses used by the OpenACC API https://www.openacc.org.

`OACC_CACHE`

  Represents `#pragma acc cache (var …)`.

`OACC_DATA`

  Represents `#pragma acc data [clause1 … clauseN]`.

`OACC_DECLARE`

  Represents `#pragma acc declare [clause1 … clauseN]`.

`OACC_ENTER_DATA`

  Represents `#pragma acc enter data [clause1 … clauseN]`.

`OACC_EXIT_DATA`

  Represents `#pragma acc exit data [clause1 … clauseN]`.

`OACC_HOST_DATA`

  Represents `#pragma acc host_data [clause1 … clauseN]`.

`OACC_KERNELS`

  Represents `#pragma acc kernels [clause1 … clauseN]`.

`OACC_LOOP`

  Represents `#pragma acc loop [clause1 … clauseN]`.

  See the description of the `OMP_FOR` code.

`OACC_PARALLEL`

  Represents `#pragma acc parallel [clause1 … clauseN]`.

`OACC_SERIAL`

  Represents `#pragma acc serial [clause1 … clauseN]`.

`OACC_UPDATE`

  Represents `#pragma acc update [clause1 … clauseN]`.