pub unsafe extern "C" fn cuGraphCreate(
phGraph: *mut CUgraph,
flags: c_uint,
) -> CUresultExpand description
Creates a graph.
Creates an empty graph, which is returned via phGraph.
Note: Graph objects are not threadsafe. More here.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
phGraph: Returns newly created graph.flags: Graph creation flags, must be 0.
§Return value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_DEINITIALIZEDCUresult::CUDA_ERROR_NOT_INITIALIZEDCUresult::CUDA_ERROR_INVALID_VALUECUresult::CUDA_ERROR_OUT_OF_MEMORY
See also: cuGraphAddChildGraphNode, cuGraphAddEmptyNode, cuGraphAddKernelNode, cuGraphAddHostNode, cuGraphAddMemcpyNode, cuGraphAddMemsetNode, cuGraphInstantiate, cuGraphDestroy, cuGraphGetNodes, cuGraphGetRootNodes, cuGraphGetEdges, cuGraphClone.