cuda::experimental::stf::allocateHostMemory

Defined in include/cuda/experimental/__stf/utility/memory.cuh

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