Revision 7af471fabebe12034c561ad6071bcab2eaeeaef7 authored by Andrew Adams on 12 October 2023, 18:47:40 UTC, committed by Andrew Adams on 12 October 2023, 18:47:40 UTC
1 parent 6a3fe1e
StmtToViz.h
#ifndef HALIDE_STMT_TO_VIZ
#define HALIDE_STMT_TO_VIZ
/** \file
* Defines a function to dump an HTML-formatted visualization to a file.
*/
#include <string>
namespace Halide {
class Module;
namespace Internal {
struct Stmt;
/** Dump an HTML-formatted visualization of a Module to filename.
* If assembly_input_filename is not empty, it is expected to be the path
* to assembly output. If empty, the code will attempt to find such a
* file based on output_filename (replacing ".stmt.html" with ".s"),
* and will assert-fail if no such file is found. */
void print_to_viz(const std::string &html_output_filename,
const Module &m,
const std::string &assembly_input_filename = "");
} // namespace Internal
} // namespace Halide
#endif
Computing file changes ...