tvm
|
Split of an iterator. More...
#include <iter_affine_map.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("arith.IterSplitExpr", IterSplitExprNode, IterMapExprNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("arith.IterMapExpr", IterMapExprNode, PrimExprNode) | |
![]() | |
TVM_OBJECT_ENABLE_SCRIPT_PRINTER () | |
TVM_FFI_DECLARE_OBJECT_INFO ("ir.PrimExpr", PrimExprNode, BaseExprNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("ir.BaseExpr", BaseExprNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
IterMark | source |
The source marked iterator. More... | |
PrimExpr | lower_factor |
The lower factor to split the source. More... | |
PrimExpr | extent |
The extent of the split. More... | |
PrimExpr | scale |
Additional scale. More... | |
![]() | |
DataType | dtype |
The runtime data type of the primitive expression. More... | |
![]() | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Static Public Attributes | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
![]() | |
static constexpr const uint32_t | _type_child_slots = 2 |
![]() | |
static constexpr const uint32_t | _type_child_slots = 40 |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const uint32_t | _type_child_slots = 64 |
Split of an iterator.
result = floormod(floordiv(source, lower_factor), extent) * scale
|
inlinestatic |
tvm::arith::IterSplitExprNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "arith.IterSplitExpr" | , |
IterSplitExprNode | , | ||
IterMapExprNode | |||
) |
|
staticconstexpr |
PrimExpr tvm::arith::IterSplitExprNode::extent |
The extent of the split.
PrimExpr tvm::arith::IterSplitExprNode::lower_factor |
The lower factor to split the source.
PrimExpr tvm::arith::IterSplitExprNode::scale |
Additional scale.
IterMark tvm::arith::IterSplitExprNode::source |
The source marked iterator.