https://github.com/halide/Halide
Raw File
Tip revision: 14f594e0adaff3b30b437ef81871969c6738a53f authored by Tal Ben-Nun on 27 July 2018, 11:52:25 UTC
Merge pull request #2 from halide/master
Tip revision: 14f594e
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