20 #ifndef TVM_META_SCHEDULE_SCHEDULE_RULE_H_ 21 #define TVM_META_SCHEDULE_SCHEDULE_RULE_H_ 34 namespace meta_schedule {
69 static constexpr
const char*
_type_key =
"meta_schedule.ScheduleRule";
109 TVM_DLL
static bool IsApplyCustomRule(
const ScheduleRule& rule);
121 TVM_DLL
static ScheduleRule AutoInline(
bool into_producer,
123 bool inline_const_tensor,
124 bool disallow_if_then_else,
125 bool require_injective,
126 bool require_ordered,
236 TVM_DLL
static ScheduleRule AddRFactor(
int max_jobs_per_core,
263 TVM_DLL
static ScheduleRule ParallelizeVectorizeUnroll(
int max_jobs_per_core,
264 int max_vectorize_extent,
266 bool unroll_explicit);
276 int max_threads_per_block = -1);
337 static constexpr
const char*
_type_key =
"meta_schedule.PyScheduleRule";
344 #endif // TVM_META_SCHEDULE_SCHEDULE_RULE_H_
Runtime Optional container types.
Runtime String container types.
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
base class of all object containers.
Definition: object.h:167
#define TVM_DEFINE_MUTABLE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:744
Managed reference to ScheduleNode.
Definition: schedule.h:813
Managed reference to TuneContextNode.
Definition: tune_context.h:95
Runtime Array container types.
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:289
Reference to string objects.
Definition: string.h:98
Please refer to TypedPackedFunc<R(Args..)>.
Definition: packed_func.h:60
Base class of all object reference.
Definition: object.h:511
A managed object in the TVM runtime.
#define TVM_DECLARE_FINAL_OBJECT_INFO(TypeName, ParentType)
helper macro to declare type information in a final class.
Definition: object.h:671
Map container of NodeRef->NodeRef in DSL graph. Map implements copy on write semantics, which means map is mutable but copy will happen when array is referenced in more than two places.
Definition: map.h:1271
Runtime Map container types.
Optional container that to represent to a Nullable variant of T.
Definition: optional.h:51
constexpr runtime::NullOptType NullOpt
Definition: optional.h:160
Reflection and serialization of compiler IR/AST nodes.
Managed reference to BlockRVNode.
Definition: schedule.h:62
Type-erased function used across TVM API.
Container of constant int that adds more constructors.
Definition: expr.h:622