Skip to main content

cuGraphDebugDotPrint

Function cuGraphDebugDotPrint 

Source
pub unsafe extern "C" fn cuGraphDebugDotPrint(
    hGraph: CUgraph,
    path: *const c_char,
    flags: c_uint,
) -> CUresult
Expand description

Write a DOT file describing graph structure.

Using the provided hGraph, 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

  • hGraph: The graph to create a DOT file from.
  • path: The path to write the DOT file to.
  • flags: Flags from CUgraphDebugDot_flags for specifying which additional node information to write.

§Return value