cuda::experimental::stf::allocateHostMemory#

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

Allocates memory on host 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