cuda::experimental::stf::deallocateHostMemory
Defined in include/cuda/experimental/__stf/utility/memory.cuh
-
inline cudaGraphNode_t cuda::experimental::stf::deallocateHostMemory(void *p, size_t sz, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies)
Deallocates memory allocated with
allocateHostMemory
in a graph-ordered fashion.Will perform deallocation when all dependent graph operations have completed.
- Parameters
p – pointer
sz – size in byutes
graph – graph used for ordering
pDependencies – array of dependencies
numDependencies – number of elements in
pDependencies
- Returns
cudaGraphNode_t the newly inserted node