Halide
DebugArguments.h
Go to the documentation of this file.
1 #ifndef HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
2 #define HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
3 
4 #include "Target.h"
5 
6 /** \file
7  *
8  * Defines a lowering pass that injects debug statements inside a
9  * LoweredFunc. Intended to be used when Target::Debug is on.
10  */
11 
12 namespace Halide {
13 namespace Internal {
14 
15 struct LoweredFunc;
16 
17 /** Injects debug prints in a LoweredFunc that describe the target and
18  * arguments. Mutates the given func. */
19 void debug_arguments(LoweredFunc *func, const Target &t);
20 
21 } // namespace Internal
22 } // namespace Halide
23 
24 #endif
Halide::Internal::debug_arguments
void debug_arguments(LoweredFunc *func, const Target &t)
Injects debug prints in a LoweredFunc that describe the target and arguments.
Target.h
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.