https://github.com/halide/Halide
Raw File
Tip revision: 2c92023de1f3341a155bcf5b31c3863ba9988c3d authored by Steven Johnson on 04 October 2018, 17:17:32 UTC
Merge branch 'master' into srj-mak
Tip revision: 2c92023
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