Skip to main content

cuGraphExecDestroy

Function cuGraphExecDestroy 

Source
pub unsafe extern "C" fn cuGraphExecDestroy(
    hGraphExec: CUgraphExec,
) -> CUresult
Expand description

Destroys an executable graph.

Destroys the executable graph specified by hGraphExec, as well as all of its executable nodes. If the executable graph is in-flight, it will not be terminated, but rather freed asynchronously on completion.

Note: Graph objects are not threadsafe. More here.

Note that this function may also return error codes from previous, asynchronous launches.

§Parameters

  • hGraphExec: Executable graph to destroy

§Return value

See also: cuGraphInstantiate, cuGraphUpload, cuGraphLaunch.