diff --git a/src/lib.rs b/src/lib.rs index 38b3239..58d6cb7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -652,6 +652,7 @@ pub fn parse_path(path: &PathBuf, config: &ParseConfig) -> anyhow::Result = Vec::new(); let mut export_failures: Vec = Vec::new(); @@ -966,6 +967,9 @@ pub fn parse_path(path: &PathBuf, config: &ParseConfig) -> anyhow::Result anyhow::Result anyhow::Result{num_breaks} restart(s) and/or compilation failure(s).

{{ endif }} +{{ if has_distinct_graph_breaks }} +

Distinct Graph Breaks

+

+Below is a summary of distinct graph break reasons across all compilations, with each unique break shown only once: +

+
    +{{ for reason in distinct_graph_breaks }} +
  • {reason}
  • +{{ endfor }} +
+{{ endif }}

IR dumps

The IR dumps collected dumped intermediate products from various points of the PT2 diff --git a/src/types.rs b/src/types.rs index a948099..47b2888 100644 --- a/src/types.rs +++ b/src/types.rs @@ -934,6 +934,8 @@ pub struct IndexContext { pub qps: &'static str, pub has_inductor_provenance: bool, pub directory_names: Vec, + pub distinct_graph_breaks: Vec, + pub has_distinct_graph_breaks: bool, } #[derive(Debug, Serialize)]