cuda::experimental::stf::deallocateManagedMemory
Defined in include/cuda/experimental/__stf/utility/memory.cuh
-
inline void cuda::experimental::stf::deallocateManagedMemory(void *p, size_t sz, const cuda::std::source_location loc = cuda::std::source_location::current())
Deallocates managed memory allocated with
allocateManagedMemory
immediately.- Parameters
p – pointer to memory chunk
sz – size in bytes
loc – location of the call, defaulted