cuda.bindings._v2.driver.graph_debug_dot_print#

cuda.bindings._v2.driver.graph_debug_dot_print(intptr_t h_graph, path, unsigned int flags)#

Write a DOT file describing graph structure.

Using the provided h_graph, write to path a DOT formatted description of the graph. By default this includes the graph topology, node types, node id, kernel names and memcpy direction. flags can be specified to write more detailed information about each node type such as parameter values, kernel attributes, node and function handles.

Parameters:
  • h_graph (intptr_t) – The graph to create a DOT file from.

  • path (bytes) – The path to write the DOT file to.

  • flags (unsigned int) – Flags from CUgraphDebugDot_flags for specifying which additional node information to write.

See also

cuGraphDebugDotPrint