https://github.com/halide/Halide
Raw File
Tip revision: 7496245ee5b1528dcb9fcc67627d5effe7cd65ca authored by Steven Johnson on 02 April 2020, 00:41:18 UTC
Avoid including IR.h in other .h files except where necessary
Tip revision: 7496245
PrintLoopNest.h
#ifndef HALIDE_INTERNAL_PRINT_LOOP_NEST_H
#define HALIDE_INTERNAL_PRINT_LOOP_NEST_H

/** \file
 *
 * Defines methods to print out the loop nest corresponding to a schedule.
 */

#include <string>
#include <vector>

#include "Function.h"

namespace Halide {
namespace Internal {

/** Emit some simple pseudocode that shows the structure of the loop
 * nest specified by this pipeline's schedule, and the schedules of
 * the functions it uses. */
std::string print_loop_nest(const std::vector<Function> &output_funcs);

}  // namespace Internal
}  // namespace Halide

#endif
back to top