Halide 19.0.0
Halide compiler and libraries
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Debug.h File Reference

Defines functions for debug logging during code generation. More...

#include <cstdlib>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

class  Halide::Internal::debug
 For optional debugging during codegen, use the debug class as follows: More...
 
struct  Halide::Internal::PrintSpan< T >
 Allow easily printing the contents of containers, or std::vector-like containers, in debug output. More...
 
struct  Halide::Internal::PrintSpanLn< T >
 Allow easily printing the contents of spans, or std::vector-like spans, in debug output. More...
 

Namespaces

namespace  Halide
 This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
 
namespace  Halide::Internal
 

Functions

std::ostream & Halide::operator<< (std::ostream &stream, const Expr &)
 Emit an expression on an output stream (such as std::cout) in human-readable form.
 
std::ostream & Halide::operator<< (std::ostream &stream, const Type &)
 Emit a halide type on an output stream (such as std::cout) in human-readable form.
 
std::ostream & Halide::operator<< (std::ostream &stream, const Module &)
 Emit a halide Module on an output stream (such as std::cout) in human-readable form.
 
std::ostream & Halide::operator<< (std::ostream &stream, const Target &)
 Emit a halide Target in a human readable form.
 
std::ostream & Halide::Internal::operator<< (std::ostream &stream, const Stmt &)
 Emit a halide statement on an output stream (such as std::cout) in a human-readable form.
 
std::ostream & Halide::Internal::operator<< (std::ostream &stream, const LoweredFunc &)
 Emit a halide LoweredFunc in a human readable format.
 
template<typename T >
 Halide::Internal::PrintSpan (const T &) -> PrintSpan< T >
 
template<typename StreamT , typename T >
StreamT & Halide::Internal::operator<< (StreamT &stream, const PrintSpan< T > &wrapper)
 
template<typename T >
 Halide::Internal::PrintSpanLn (const T &) -> PrintSpanLn< T >
 
template<typename StreamT , typename T >
StreamT & Halide::Internal::operator<< (StreamT &stream, const PrintSpanLn< T > &wrapper)
 

Detailed Description

Defines functions for debug logging during code generation.

Definition in file Debug.h.