Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
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
12namespace Halide {
13namespace Internal {
14
15struct LoweredFunc;
16
17/** Injects debug prints in a LoweredFunc that describe the target and
18 * arguments. Mutates the given func. */
19void debug_arguments(LoweredFunc *func, const Target &t);
20
21} // namespace Internal
22} // namespace Halide
23
24#endif
Defines the structure that describes a Halide target.
void debug_arguments(LoweredFunc *func, const Target &t)
Injects debug prints in a LoweredFunc that describe the target and arguments.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
Definition of a lowered function.
Definition Module.h:101
A struct representing a target machine and os to generate code for.
Definition Target.h:19