https://github.com/halide/Halide
Raw File
Tip revision: cfff9bbf8d95476020f60a768cd1644afd9865c4 authored by Steven Johnson on 31 August 2018, 21:33:31 UTC
Merge branch 'master' into srj-bufcallwrap
Tip revision: cfff9bb
DebugArguments.h
#ifndef HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
#define HALIDE_INTERNAL_DEBUG_ARGUMENTS_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 arguments. Mutates the given func. */
void debug_arguments(LoweredFunc *func);

}  // namespace Internal
}  // namespace Halide

#endif
back to top