1#ifndef HALIDE_INTERNAL_CACHING_H
2#define HALIDE_INTERNAL_CACHING_H
27 const std::string &name,
28 const std::vector<Function> &outputs);
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt inject_memoization(const Stmt &s, const std::map< std::string, Function > &env, const std::string &name, const std::vector< Function > &outputs)
Transform pipeline calls for Funcs scheduled with memoize to do a lookup call to the runtime cache im...
Stmt rewrite_memoized_allocations(const Stmt &s, const std::map< std::string, Function > &env)
This should be called after Storage Flattening has added Allocation IR nodes.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.