Halide
AutoSchedule.h
Go to the documentation of this file.
1
#ifndef AUTO_SCHEDULE_H
2
#define AUTO_SCHEDULE_H
3
4
#include <random>
5
#include <vector>
6
7
#include "
CostModel.h
"
8
#include "
Featurization.h
"
9
#include "
FunctionDAG.h
"
10
#include "Halide.h"
11
#include "
PerfectHashMap.h
"
12
#include "
SearchSpace.h
"
13
#include "
State.h
"
14
15
namespace
Halide
{
16
namespace
Internal
{
17
namespace
Autoscheduler {
18
19
typedef
PerfectHashMap<FunctionDAG::Node::Stage, ScheduleFeatures>
StageMapOfScheduleFeatures
;
20
21
void
find_and_apply_schedule
(FunctionDAG &dag,
22
const
std::vector<Function> &outputs,
23
const
Anderson2021Params ¶ms,
24
const
Target &target,
25
CostModel *cost_model,
26
int
beam_size,
27
StageMapOfScheduleFeatures
*schedule_features);
28
29
}
// namespace Autoscheduler
30
}
// namespace Internal
31
}
// namespace Halide
32
33
#endif // AUTO_SCHEDULE_H
Halide::Internal::Autoscheduler::find_and_apply_schedule
void find_and_apply_schedule(FunctionDAG &dag, const std::vector< Function > &outputs, const Adams2019Params ¶ms, CostModel *cost_model, int beam_size, StageMapOfScheduleFeatures *schedule_features)
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition:
AbstractGenerator.h:19
PerfectHashMap.h
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
FunctionDAG.h
Featurization.h
Halide::Internal::Autoscheduler::StageMapOfScheduleFeatures
PerfectHashMap< FunctionDAG::Node::Stage, ScheduleFeatures > StageMapOfScheduleFeatures
Definition:
AutoSchedule.h:12
State.h
SearchSpace.h
CostModel.h
PerfectHashMap
Definition:
PerfectHashMap.h:38
src
autoschedulers
anderson2021
AutoSchedule.h
Generated by
1.8.17