https://github.com/halide/Halide
Raw File
Tip revision: fd35c683103793fab5b55c9bfedc7c89a190df2a authored by Ron Lieberman on 04 September 2017, 00:24:52 UTC
Modify runtimes to display profile command when PACKET_ANALYZE is enabled
Tip revision: fd35c68
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);

}
}


#endif
back to top