https://github.com/halide/Halide
Raw File
Tip revision: 14906ebec6dc6ad53efa1b6bd8173c394888c429 authored by Steven Johnson on 07 February 2024, 18:45:53 UTC
Merge branch 'main' into srj/forward
Tip revision: 14906eb
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