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

Memory information of special memory region. Use MemoryInfo as its container type. More...

#include <target_info.h>

Inheritance diagram for tvm::MemoryInfoNode:
Collaboration diagram for tvm::MemoryInfoNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (MemoryInfoNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

int64_t unit_bits
 The addressable unit. More...
 
int64_t max_num_bits
 Maximum number of bits supported in the memory. More...
 
int64_t max_simd_bits
 maximum number of bits to be used in simd op More...
 
PrimExpr head_address
 head address of the buffer, if visible to CPU This address can be None. More...
 

Static Public Attributes

static constexpr const char * _type_key = "target.MemoryInfo"
 

Detailed Description

Memory information of special memory region. Use MemoryInfo as its container type.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::MemoryInfoNode::TVM_DECLARE_FINAL_OBJECT_INFO ( MemoryInfoNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::MemoryInfoNode::_type_key = "target.MemoryInfo"
staticconstexpr

◆ head_address

PrimExpr tvm::MemoryInfoNode::head_address

head address of the buffer, if visible to CPU This address can be None.

◆ max_num_bits

int64_t tvm::MemoryInfoNode::max_num_bits

Maximum number of bits supported in the memory.

◆ max_simd_bits

int64_t tvm::MemoryInfoNode::max_simd_bits

maximum number of bits to be used in simd op

◆ unit_bits

int64_t tvm::MemoryInfoNode::unit_bits

The addressable unit.


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