https://github.com/halide/Halide
Raw File
Tip revision: 68eb6e831e17d844bcfd6adb0e56beef59019988 authored by Ahmed Taei on 30 January 2019, 19:48:20 UTC
Normalize image
Tip revision: 68eb6e8
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