tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::VDeviceNode Class Reference

A global info subclass for virtual devices. More...

#include <global_info.h>

Inheritance diagram for tvm::VDeviceNode:
Collaboration diagram for tvm::VDeviceNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (VDeviceNode, GlobalInfoNode)
 
- Public Member Functions inherited from tvm::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 Public Attributes inherited from tvm::GlobalInfoNode
static constexpr const char * _type_key = "ir.GlobalInfo"
 
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

A global info subclass for virtual devices.

Member Function Documentation

◆ RegisterReflection()

static void tvm::VDeviceNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::VDeviceNode::TVM_DECLARE_FINAL_OBJECT_INFO ( VDeviceNode  ,
GlobalInfoNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::VDeviceNode::_type_key = "ir.VDevice"
staticconstexpr

◆ memory_scope

MemoryScope tvm::VDeviceNode::memory_scope

◆ target

Target tvm::VDeviceNode::target

The Target describing how to compile for the virtual device.

◆ vdevice_id

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.


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