https://github.com/halide/Halide
Raw File
Tip revision: 4e9f81211163b4dbaf177c0be8510e675154ee77 authored by Andrew Adams on 01 January 2023, 23:01:45 UTC
Merge branch 'abadams/fix_7260' of https://github.com/halide/Halide into abadams/fix_7260
Tip revision: 4e9f812
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>

namespace Halide {
namespace Internal {

class Function;

/** 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