acc_malloc (GNU libgomp)

### 6.16 `acc_malloc` – Allocate device memory. ¶

Description

  This function allocates bytes bytes of device memory. It returns the device address of the allocated memory.

C/C++:

  Prototype: | `d_void* acc_malloc(size_t bytes);`

Fortran:

  Interface: | `type(c_ptr) function acc_malloc(bytes)`
  | `integer(c_size_t), value :: bytes`

Reference:

  OpenACC specification v2.6, section 3.2.18. openacc specification v3.3, section 3.2.16.