Prefetch.h File Reference
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.


 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.


Stmt Halide::Internal::inject_placeholder_prefetch (const Stmt &s, const std::map< std::string, Function > &env, const std::string &prefix, const std::vector< PrefetchDirective > &prefetches)
 Inject placeholder prefetches to 's'. More...
Stmt Halide::Internal::inject_prefetch (const Stmt &s, const std::map< std::string, Function > &env)
 Compute the actual region to be prefetched and place it to the placholder prefetch. More...
Stmt Halide::Internal::reduce_prefetch_dimension (Stmt stmt, const Target &t)
 Reduce a multi-dimensional prefetch into a prefetch of lower dimension (max dimension of the prefetch is specified by target architecture). More...

Detailed Description

Defines the lowering pass that injects prefetch calls when prefetching appears in the schedule.

Definition in file Prefetch.h.