Revision 39e81fdb03c4dd79101ce978bd7758dab00c0f6e authored by Steven Johnson on 11 February 2021, 22:32:51 UTC, committed by GitHub on 11 February 2021, 22:32:51 UTC
* Simplify some Generator code

* fix typo
1 parent 584a1f4
Raw File
StmtToHtml.h
#ifndef HALIDE_STMT_TO_HTML
#define HALIDE_STMT_TO_HTML

/** \file
 * Defines a function to dump an HTML-formatted stmt to a file.
 */

#include <string>

namespace Halide {

class Module;

namespace Internal {

struct Stmt;

/**
 * Dump an HTML-formatted print of a Stmt to filename.
 */
void print_to_html(const std::string &filename, const Stmt &s);

/** Dump an HTML-formatted print of a Module to filename. */
void print_to_html(const std::string &filename, const Module &m);

}  // namespace Internal
}  // namespace Halide

#endif
back to top