Managed reference to RPCRunnerNode.
More...
#include <measure.h>
|
| RPCRunner (const String &key, const String &host, int port, int priority, int n_parallel, int timeout, int number, int repeat, int min_repeat_ms, double cooldown_interval, bool enable_cpu_cache_flush, int device) |
| The constructor. See the corresponding class in python/tvm/auto_scheduler/measure.py for more detailed parameter explanation. More...
|
|
| TVM_DEFINE_MUTABLE_OBJECT_REF_METHODS (RPCRunner, ProgramRunner, RPCRunnerNode) |
|
| TVM_DEFINE_MUTABLE_OBJECT_REF_METHODS (ProgramRunner, ObjectRef, ProgramRunnerNode) |
|
| ObjectRef ()=default |
| default constructor More...
|
|
| ObjectRef (ObjectPtr< Object > data) |
| Constructor from existing object ptr. More...
|
|
bool | same_as (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | operator== (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | operator!= (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | operator< (const ObjectRef &other) const |
| Comparator. More...
|
|
bool | defined () const |
|
const Object * | get () const |
|
const Object * | operator-> () const |
|
bool | unique () const |
|
int | use_count () const |
|
template<typename ObjectType , typename = std::enable_if_t<std::is_base_of_v<Object, ObjectType>>> |
const ObjectType * | as () const |
| Try to downcast the internal Object to a raw pointer of a corresponding type. More...
|
|
template<typename ObjectRefType , typename = std::enable_if_t<std::is_base_of_v<ObjectRef, ObjectRefType>>> |
Optional< ObjectRefType > | as () const |
| Try to downcast the ObjectRef to a Optional<T> of the requested type. More...
|
|
Managed reference to RPCRunnerNode.
- See also
- RPCRunnerNode
◆ RPCRunner()
tvm::auto_scheduler::RPCRunner::RPCRunner |
( |
const String & |
key, |
|
|
const String & |
host, |
|
|
int |
port, |
|
|
int |
priority, |
|
|
int |
n_parallel, |
|
|
int |
timeout, |
|
|
int |
number, |
|
|
int |
repeat, |
|
|
int |
min_repeat_ms, |
|
|
double |
cooldown_interval, |
|
|
bool |
enable_cpu_cache_flush, |
|
|
int |
device |
|
) |
| |
The constructor. See the corresponding class in python/tvm/auto_scheduler/measure.py for more detailed parameter explanation.
- Parameters
-
key | The key of the device registered in the RPC tracker. |
host | The host address of the RPC Tracker. |
port | The port of RPC Tracker. |
priority | The priority of this run request, larger is more prior. |
n_parallel | The number of tasks run in parallel. |
timeout | Timeout of a run. |
number | The number of times to run the generated code for taking average. |
repeat | The number of times to repeat the measurement. |
min_repeat_ms | The minimum duration of one repeat in milliseconds. |
cooldown_interval | The cool down interval between two measurements. |
enable_cpu_cache_flush | Whether to flush cache on CPU between repeated measurements. |
device | Which device to run on if multiple are available. |
◆ TVM_DEFINE_MUTABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: