https://github.com/halide/Halide
Raw File
Tip revision: 02046aca422ce4277dc0f185e8e1ef2c7f3eb1c8 authored by Steven Johnson on 19 July 2021, 17:09:25 UTC
Merge branch 'master' into srj/hannk-mmap
Tip revision: 02046ac
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