24 #ifndef TVM_TARGET_TARGET_INFO_H_
25 #define TVM_TARGET_TARGET_INFO_H_
27 #include <tvm/ffi/reflection/registry.h>
54 refl::ObjectDef<MemoryInfoNode>()
Memory information of special memory region. Use MemoryInfo as its container type.
Definition: target_info.h:38
int64_t max_simd_bits
maximum number of bits to be used in simd op
Definition: target_info.h:45
int64_t unit_bits
The addressable unit.
Definition: target_info.h:41
static void RegisterReflection()
Definition: target_info.h:52
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("target.MemoryInfo", MemoryInfoNode, Object)
int64_t max_num_bits
Maximum number of bits supported in the memory.
Definition: target_info.h:43
PrimExpr head_address
head address of the buffer, if visible to CPU This address can be None.
Definition: target_info.h:50
Defines memory info.
Definition: target_info.h:64
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE(MemoryInfo, ObjectRef, MemoryInfoNode)
Reference to PrimExprNode.
Definition: expr.h:124
Definition: repr_printer.h:91
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:37
MemoryInfo GetMemoryInfo(const std::string &scope)
get memory info given scope