cuda.bindings._v2.driver.graph_exec_get_flags#

cuda.bindings._v2.driver.graph_exec_get_flags(intptr_t h_graph_exec) → uint64_t#

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.

Parameters:

h_graph_exec (intptr_t) – The executable graph to query.

Returns:

Returns the instantiation flags.

Return type:

uint64_t

See also

cuGraphExecGetFlags