cuda::experimental::stf::allocateManagedMemory#

inline void *cuda::experimental::stf::allocateManagedMemory(
size_t sz,
)#

Allocates managed memory and returns a pointer to it.

Uses a pool of previous allocations.

Parameters:

sz – Number of bytes to allocate

Returns:

void* pointer to allocated data