https://github.com/halide/Halide
Raw File
Tip revision: 8a4f1f4b16a7a4003ef8e667f7c5197e4d6de328 authored by Ahmed S. Taei on 09 April 2019, 22:31:54 UTC
Merge branch 'master' into ataei-gen_str_param
Tip revision: 8a4f1f4
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