Halide 19.0.0
Halide compiler and libraries
|
#include <Cache.h>
Public Member Functions | |
Cache ()=delete | |
Cache (const CachingOptions &_options, size_t nodes_size) | |
~Cache ()=default | |
bool | add_memoized_blocks (const State *state, std::function< void(IntrusivePtr< State > &&)> &accept_child, const FunctionDAG::Node *node, int &num_children, const FunctionDAG &dag, const Adams2019Params ¶ms, CostModel *cost_model) const |
void | memoize_blocks (const FunctionDAG::Node *node, LoopNest *new_root) |
Public Attributes | |
CachingOptions | options |
BlockCache | memoized_compute_root_blocks |
size_t | cache_hits = 0 |
size_t | cache_misses = 0 |
|
delete |
|
inline |
Definition at line 102 of file Cache.h.
References Halide::Internal::Autoscheduler::CachingOptions::cache_blocks, and options.
|
default |
bool Halide::Internal::Autoscheduler::Cache::add_memoized_blocks | ( | const State * | state, |
std::function< void(IntrusivePtr< State > &&)> & | accept_child, | ||
const FunctionDAG::Node * | node, | ||
int & | num_children, | ||
const FunctionDAG & | dag, | ||
const Adams2019Params & | params, | ||
CostModel * | cost_model ) const |
void Halide::Internal::Autoscheduler::Cache::memoize_blocks | ( | const FunctionDAG::Node * | node, |
LoopNest * | new_root ) |
CachingOptions Halide::Internal::Autoscheduler::Cache::options |
BlockCache Halide::Internal::Autoscheduler::Cache::memoized_compute_root_blocks |
|
mutable |
|
mutable |