tvm
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
tvm::s_tir::meta_schedule::RunnerObj Class Referenceabstract

The abstract runner interface. More...

#include <runner.h>

Inheritance diagram for tvm::s_tir::meta_schedule::RunnerObj:
Collaboration diagram for tvm::s_tir::meta_schedule::RunnerObj:

Public Types

using FRun = ffi::TypedFunction< ffi::Array< RunnerFuture >(ffi::Array< RunnerInput >)>
 The function type to run the built artifacts and get runner futures.
 

Public Member Functions

virtual ~RunnerObj ()=default
 Default destructor.
 
virtual ffi::Array< RunnerFuture > Run (ffi::Array< RunnerInput > runner_inputs)=0
 Run the built artifact and get runner futures.
 
 TVM_FFI_DECLARE_OBJECT_INFO ("s_tir.meta_schedule.Runner", RunnerObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Static Public Attributes

static constexpr const bool _type_mutable = true
 

Detailed Description

The abstract runner interface.

Member Typedef Documentation

◆ FRun

using tvm::s_tir::meta_schedule::RunnerObj::FRun = ffi::TypedFunction<ffi::Array<RunnerFuture>(ffi::Array<RunnerInput>)>

The function type to run the built artifacts and get runner futures.

Parameters
inputThe runner's inputs.
Returns
The runner futures.
See also
RunnerFuture

Constructor & Destructor Documentation

◆ ~RunnerObj()

virtual tvm::s_tir::meta_schedule::RunnerObj::~RunnerObj ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ RegisterReflection()

static void tvm::s_tir::meta_schedule::RunnerObj::RegisterReflection ( )
inlinestatic

◆ Run()

virtual ffi::Array< RunnerFuture > tvm::s_tir::meta_schedule::RunnerObj::Run ( ffi::Array< RunnerInput >  runner_inputs)
pure virtual

Run the built artifact and get runner futures.

Parameters
runner_inputsThe runner's inputs.
Returns
The runner futures.

Implemented in tvm::s_tir::meta_schedule::PyRunnerObj.

◆ TVM_FFI_DECLARE_OBJECT_INFO()

tvm::s_tir::meta_schedule::RunnerObj::TVM_FFI_DECLARE_OBJECT_INFO ( "s_tir.meta_schedule.Runner"  ,
RunnerObj  ,
ffi::Object   
)

Member Data Documentation

◆ _type_mutable

constexpr const bool tvm::s_tir::meta_schedule::RunnerObj::_type_mutable = true
staticconstexpr

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