tvm
Public Member Functions | Static Public Member Functions | 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_FFI_DECLARE_OBJECT_INFO_FINAL ("target.MemoryInfo", 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...
 

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_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::MemoryInfoNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "target.MemoryInfo"  ,
MemoryInfoNode  ,
Object   
)

Member Data Documentation

◆ 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: