tvm
|
A global info subclass for virtual devices. More...
#include <global_info.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (VDeviceNode, GlobalInfoNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (GlobalInfoNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
Target | target |
The Target describing how to compile for the virtual device. More... | |
int | vdevice_id |
The device identifier for the virtual device. This enables us to differentiate between distinct devices with same Target, such as multiple GPUs. More... | |
MemoryScope | memory_scope |
Static Public Attributes | |
static constexpr const char * | _type_key = "ir.VDevice" |
![]() | |
static constexpr const char * | _type_key = "ir.GlobalInfo" |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
A global info subclass for virtual devices.
|
inlinestatic |
tvm::VDeviceNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | VDeviceNode | , |
GlobalInfoNode | |||
) |
|
staticconstexpr |
MemoryScope tvm::VDeviceNode::memory_scope |
int tvm::VDeviceNode::vdevice_id |
The device identifier for the virtual device. This enables us to differentiate between distinct devices with same Target, such as multiple GPUs.