Managed reference to MutatorObj.
More...
#include <mutator.h>
Managed reference to MutatorObj.
- See also
- MutatorObj
◆ FApply
Apply the mutator function to the given trace.
- Parameters
-
| trace | The given trace for mutation. |
- Returns
- None if mutator failed, otherwise return the mutated trace.
◆ FClone
Clone the mutator.
- Returns
- The cloned mutator.
◆ FInitializeWithTuneContext
The function type of InitializeWithTuneContext method.
- Parameters
-
| context | The tuning context for initialization. |
◆ Mutator()
| tvm::s_tir::meta_schedule::Mutator::Mutator |
( |
ffi::UnsafeInit |
tag, |
|
|
ffi::ObjectPtr< MutatorObj > |
data |
|
) |
| |
|
inlineexplicit |
◆ DefaultCUDA()
| static ffi::Map< Mutator, FloatImm, void > tvm::s_tir::meta_schedule::Mutator::DefaultCUDA |
( |
| ) |
|
|
static |
Create default mutators for CUDA.
◆ DefaultHexagon()
| static ffi::Map< Mutator, FloatImm, void > tvm::s_tir::meta_schedule::Mutator::DefaultHexagon |
( |
| ) |
|
|
static |
Create default mutators for Hexagon.
◆ DefaultLLVM()
| static ffi::Map< Mutator, FloatImm, void > tvm::s_tir::meta_schedule::Mutator::DefaultLLVM |
( |
| ) |
|
|
static |
Create default mutators for LLVM.
◆ MutateComputeLocation()
| static Mutator tvm::s_tir::meta_schedule::Mutator::MutateComputeLocation |
( |
| ) |
|
|
static |
Create a Mutator that mutates the outcome of SampleComputeLocation.
- Returns
- The mutator created
◆ MutateParallel()
| static Mutator tvm::s_tir::meta_schedule::Mutator::MutateParallel |
( |
int64_t |
max_jobs_per_core | ) |
|
|
static |
Create a Mutator that mutates the parallel extent.
- Parameters
-
| max_jobs_per_core | The maximum number of parallel jobs per core. |
- Returns
- The created mutator.
◆ MutateThreadBinding()
| static Mutator tvm::s_tir::meta_schedule::Mutator::MutateThreadBinding |
( |
| ) |
|
|
static |
Create a Mutator that mutates auto thread binding.
- Returns
- The mutator created
◆ MutateTileSize()
| static Mutator tvm::s_tir::meta_schedule::Mutator::MutateTileSize |
( |
| ) |
|
|
static |
Create a Mutator that mutates the decision of instruction Sample-Perfect-Tile.
◆ MutateUnroll()
| static Mutator tvm::s_tir::meta_schedule::Mutator::MutateUnroll |
( |
| ) |
|
|
static |
Create a Mutator that mutates auto unroll step.
- Returns
- The mutator created
◆ PyMutator()
Create a mutator with customized methods on the python-side.
- Parameters
-
| f_initialize_with_tune_context | The packed function of InitializeWithTuneContext. |
| f_apply | The packed function of Apply. |
| f_clone | The packed function of Clone. |
- Returns
- The mutator created.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::s_tir::meta_schedule::Mutator::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
Mutator |
, |
|
|
ffi::ObjectRef |
, |
|
|
MutatorObj |
|
|
) |
| |
The documentation for this class was generated from the following file: