tilelang.tools.lower_trace.html¶
HTML report generation for lower trace.
Functions¶
|
Render a single pass section as HTML. |
|
Generate a self-contained HTML file with pass trace visualization. |
Module Contents¶
- tilelang.tools.lower_trace.html.render_pass_section(rec)¶
Render a single pass section as HTML.
- Parameters:
- Return type:
str
- tilelang.tools.lower_trace.html.generate_html(records, output_path, section_cache=None)¶
Generate a self-contained HTML file with pass trace visualization.
section_cache(keyed by(phase, index)) memoizes the expensive per-pass section rendering (which includes the IR diff). When supplied by the incremental flush path, previously rendered sections are reused so the diff is computed at most once per record, keeping total cost O(n).- Parameters:
records (list[tilelang.tools.lower_trace.core.LowerRecord])
output_path (str)
section_cache (dict | None)