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


5.15 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.0, section 3.2.15.