cuda::experimental::stf::deallocateHostMemory
Defined in include/cuda/experimental/__stf/utility/memory.cuh
-
inline void cuda::experimental::stf::deallocateHostMemory(void *p, size_t sz, cudaStream_t stream)
Deallocates memory allocated with
allocateHostMemory
in a stream-ordered fashion.Will perform deallocation when all preceding operations on
stream
have completed.- Parameters
p – pointer
sz – size in bytes
stream – the stream used for ordering