acc_malloc – Allocate device memory.#
- Description
This function allocates
len
bytes of device memory. It returns the device address of the allocated memory.- C/C++:
Prototype:
d_void* acc_malloc(size_t len);
- Reference:
OpenACC specification v2.6, section 3.2.18.