https://github.com/halide/Halide
Raw File
Tip revision: b8ed3e1e3b8ebe59d0c1003c9dd87238af221e80 authored by Z Stern on 10 December 2020, 00:48:19 UTC
Switch to excluding handle types rather than including integer ones per review feedback.
Tip revision: b8ed3e1
DebugArguments.h
#ifndef HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
#define HALIDE_INTERNAL_DEBUG_ARGUMENTS_H

#include "Target.h"

/** \file
 *
 * Defines a lowering pass that injects debug statements inside a
 * LoweredFunc. Intended to be used when Target::Debug is on.
 */

namespace Halide {
namespace Internal {

struct LoweredFunc;

/** Injects debug prints in a LoweredFunc that describe the target and
 * arguments. Mutates the given func. */
void debug_arguments(LoweredFunc *func, const Target &t);

}  // namespace Internal
}  // namespace Halide

#endif
back to top