Halide
Halide::CostModel Class Referenceabstract

#include <CostModel.h>

Inherited by Halide::DefaultCostModel.

Public Member Functions

virtual ~CostModel ()=default
 
virtual void set_pipeline_features (const Internal::Autoscheduler::FunctionDAG &dag, const MachineParams &params)=0
 
virtual void enqueue (const Internal::Autoscheduler::FunctionDAG &dag, const Halide::Internal::Autoscheduler::StageMapOfScheduleFeatures &schedule_feats, double *cost_ptr)=0
 
virtual void evaluate_costs ()=0
 
virtual void reset ()=0
 

Detailed Description

Definition at line 19 of file CostModel.h.

Constructor & Destructor Documentation

◆ ~CostModel()

virtual Halide::CostModel::~CostModel ( )
virtualdefault

Member Function Documentation

◆ set_pipeline_features()

virtual void Halide::CostModel::set_pipeline_features ( const Internal::Autoscheduler::FunctionDAG dag,
const MachineParams params 
)
pure virtual

Implemented in Halide::DefaultCostModel.

◆ enqueue()

virtual void Halide::CostModel::enqueue ( const Internal::Autoscheduler::FunctionDAG dag,
const Halide::Internal::Autoscheduler::StageMapOfScheduleFeatures schedule_feats,
double *  cost_ptr 
)
pure virtual

Implemented in Halide::DefaultCostModel.

◆ evaluate_costs()

virtual void Halide::CostModel::evaluate_costs ( )
pure virtual

Implemented in Halide::DefaultCostModel.

◆ reset()

virtual void Halide::CostModel::reset ( )
pure virtual

Implemented in Halide::DefaultCostModel.


The documentation for this class was generated from the following file: