https://github.com/halide/Halide
Raw File
Tip revision: d0f9e7680d422e44e90d020485fc5061e66a59e1 authored by Dillon Sharlet on 14 April 2021, 01:29:48 UTC
Add specialization for 8x upsampling.
Tip revision: d0f9e76
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