cuda::experimental::stf::deallocateManagedMemory
Defined in include/cuda/experimental/__stf/utility/memory.cuh
-
inline void cuda::experimental::stf::deallocateManagedMemory(void *p, size_t sz, cudaStream_t stream)
Deallocates managed memory allocated with
allocateManagedMemory
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