pub unsafe extern "C" fn cuGraphAddMemFreeNode(
phGraphNode: *mut CUgraphNode,
hGraph: CUgraph,
dependencies: *const CUgraphNode,
numDependencies: size_t,
dptr: CUdeviceptr,
) -> CUresultExpand description
Creates a memory free node and adds it to a graph.
Creates a new memory free node and adds it to hGraph with numDependencies dependencies specified via dependencies and arguments specified in nodeParams. It is possible for numDependencies to be 0, in which case the node will be placed at the root of the graph. dependencies may not have any duplicate entries. A handle to the new node will be returned in phGraphNode.
cuGraphAddMemFreeNode will return cudaError_enum::CUDA_ERROR_INVALID_VALUE if the user attempts to free:
The following restrictions apply to graphs which contain allocation and/or memory free nodes.
ยงParameters
phGraphNode: Returns newly created node.hGraph: Graph to which to add the node.dependencies: Dependencies of the node.numDependencies: Number of dependencies.dptr: Address of memory to free.