19 #ifndef TVM_META_SCHEDULE_INTEGRATION_H_ 20 #define TVM_META_SCHEDULE_INTEGRATION_H_ 25 #include <unordered_set> 28 namespace meta_schedule {
45 v->Visit(
"task_name", &task_name);
46 v->Visit(
"mod", &mod);
47 v->Visit(
"dispatched", &dispatched);
50 static constexpr
const char*
_type_key =
"meta_schedule.ExtractedTask";
93 static constexpr
const char*
_type_key =
"meta_schedule.MetaScheduleContext";
102 friend class MetaScheduleContextInternal;
136 void EnterWithScope();
138 void ExitWithScope();
157 static constexpr
const char*
_type_key =
"meta_schedule.TaskExtraction";
185 v->Visit(
"database", &database);
192 static constexpr
const char*
_type_key =
"meta_schedule.ApplyHistoryBest";
214 #endif // TVM_META_SCHEDULE_INTEGRATION_H_ #define TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:751
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:36
Managed reference to ApplyHistoryBestNode.
Definition: integration.h:200
base class of all object containers.
Definition: object.h:165
Visitor class to get the attributes of an AST/IR node. The content is going to be called for each fie...
Definition: reflection.h:52
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:270
Reference to string objects.
Definition: string.h:129
RAII wrapper function to enter and exit a context object similar to python's with syntax...
Definition: with.h:57
Base class of all object reference.
Definition: object.h:504
Managed reference class to IRModuleNode.
Definition: module.h:352
An integration context that allows application of historically best records from a database...
Definition: integration.h:179
Optional container that to represent to a Nullable variant of T.
Definition: optional.h:51
void VisitAttrs(AttrVisitor *v)
Definition: integration.h:184
#define TVM_DECLARE_BASE_OBJECT_INFO(TypeName, ParentType)
helper macro to declare a base object type that can be inherited.
Definition: object.h:641
#define TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:721
A context manager interface for the integration.
Definition: integration.h:74
Managed reference to MetaScheduleContextNode.
Definition: integration.h:101
RAII wrapper function to enter and exit a context object similar to python's with syntax...