Halide 22.0.0 Halide compiler and libraries

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. */
19 void debug_arguments(LoweredFunc *func, const Target &t);
20
21} // namespace Internal
22} // namespace Halide
23
24#endif
Target.h
Defines the structure that describes a Halide target.
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
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