https://github.com/halide/Halide
Raw File
Tip revision: efb326253c73a555d7a4608e41228665d1785e97 authored by Steven Johnson on 09 December 2020, 12:06:57 UTC
Update images used in apps/ tests (#5538)
Tip revision: efb3262
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