acc_malloc
– Allocate device memory. ¶This function allocates bytes bytes of device memory. It returns the device address of the allocated memory.
Prototype: | d_void* acc_malloc(size_t bytes); |
Interface: | type(c_ptr) function acc_malloc(bytes) |
integer(c_size_t), value :: bytes |
OpenACC specification v2.6, section 3.2.18. openacc specification v3.3, section 3.2.16.