tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::relax::HintOnDeviceAttrs Struct Reference

Attributes used in hint_on_device. More...

#include <op.h>

Inheritance diagram for tvm::relax::HintOnDeviceAttrs:
Collaboration diagram for tvm::relax::HintOnDeviceAttrs:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.attrs.HintOnDeviceAttrs", HintOnDeviceAttrs, AttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", AttrsNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

int32_t device_type
 
int32_t index
 
MemoryScope memory_scope
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::AttrsNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

Attributes used in hint_on_device.

Member Function Documentation

◆ RegisterReflection()

static void tvm::relax::HintOnDeviceAttrs::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::HintOnDeviceAttrs::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.attrs.HintOnDeviceAttrs"  ,
HintOnDeviceAttrs  ,
AttrsNode   
)

Member Data Documentation

◆ device_type

int32_t tvm::relax::HintOnDeviceAttrs::device_type

◆ index

int32_t tvm::relax::HintOnDeviceAttrs::index

◆ memory_scope

MemoryScope tvm::relax::HintOnDeviceAttrs::memory_scope

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