https://github.com/halide/Halide
Raw File
Tip revision: b9ce8576584b18949d8eed0cfeb30639a591aec2 authored by Z Stern on 05 June 2019, 18:22:36 UTC
Merge branch 'standalone_autoscheduler' into standalone_autoscheduler_hexagon
Tip revision: b9ce857
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