tvm
|
A global info subclass for virtual devices. More...
#include <global_info.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.VDevice", VDeviceNode, GlobalInfoNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("ir.GlobalInfo", 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 |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
A global info subclass for virtual devices.
|
inlinestatic |
tvm::VDeviceNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "ir.VDevice" | , |
VDeviceNode | , | ||
GlobalInfoNode | |||
) |
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.