Function cuGraphExecGetFlags

Source
pub unsafe extern "C" fn cuGraphExecGetFlags(
    hGraphExec: CUgraphExec,
    flags: *mut cuuint64_t,
) -> CUresult
Expand description

\brief Query the instantiation flags of an executable graph

Returns the flags that were passed to instantiation for the given executable graph. ::CUDA_GRAPH_INSTANTIATE_FLAG_UPLOAD will not be returned by this API as it does not affect the resulting executable graph.

\param hGraphExec - The executable graph to query \param flags - Returns the instantiation flags

\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, \note_graph_thread_safety \notefnerr

\sa ::cuGraphInstantiate, ::cuGraphInstantiateWithParams