warp.capture_debug_dot_print#
- warp.capture_debug_dot_print(graph, path, verbose=True)[source]#
Export a CUDA graph to a DOT file for visualization.
- Parameters:
graph (Graph) – A CUDA
Graphas returned bycapture_end(),capture_load(), orcapture_load_from_bytes().path (str) – Path to save the DOT file.
verbose (bool) – Whether to include additional debug information in the output.
- Raises:
RuntimeError – If
graphwas captured on a CPU device, which isn’t supported yet, or if the DOT file can’t be written.