Halide
EarlyFree.h File Reference
#include "Expr.h"

Go to the source code of this file.

Namespaces

 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.
 
 Halide::Internal
 

Functions

Stmt Halide::Internal::inject_early_frees (const Stmt &s)
 Take a statement with allocations and inject markers (of the form of calls to "mark buffer dead") after the last use of each allocation. More...
 

Detailed Description

Defines the lowering pass that injects markers just after the last use of each buffer so that they can potentially be freed earlier.

Definition in file EarlyFree.h.