Next: acc_free, Previous: acc_on_device, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_malloc
– Allocate device memory.This function allocates len bytes of device memory. It returns the device address of the allocated memory.
Prototype: | d_void* acc_malloc(size_t len); |
OpenACC specification v2.0, section 3.2.15.