Loading...
Searching...
No Matches
DebugArguments.h
Go to the documentation of this file.
#ifndef HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
#define HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
#include "Target.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 target and
* arguments. Mutates the given func. */
void debug_arguments(LoweredFunc *func, const Target &t);
} // namespace Internal
} // namespace Halide
#endif
Target.h
Defines the structure that describes a Halide target.
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::debug_arguments
void debug_arguments(LoweredFunc *func, const Target &t)
Injects debug prints in a LoweredFunc that describe the target and arguments.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Internal::LoweredFunc
Definition of a lowered function.
Definition Module.h:101
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19