GNU libgomp: acc_init

Next: acc_shutdown, Previous: acc_wait_async, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.12 `acc_init` – Initialize runtime for a specific device type.

Description

  This function initializes the runtime for the device type specified in devicetype.

C/C++:

  Prototype: | `acc_init(acc_device_t devicetype);`

Fortran:

  Interface: | `subroutine acc_init(devicetype)`
  | `integer(acc_device_kind) devicetype`

Reference:

  OpenACC specification v2.0, section 3.2.12.