tvm
|
An iteration variable representing an iteration over a one dimensional interval. More...
#include <var.h>
Public Member Functions | |
PrimExpr | ToPrimExpr () const final |
TVM_DECLARE_FINAL_OBJECT_INFO (IterVarNode, PrimExprConvertibleNode) | |
![]() | |
virtual | ~PrimExprConvertibleNode () |
TVM_DECLARE_BASE_OBJECT_INFO (PrimExprConvertibleNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
Range | dom |
the domain of iteration, if known, can be None For the intermediate schedule node, before schedule. More... | |
Var | var |
The looping variable. More... | |
IterVarType | iter_type |
The type of the IterVar. More... | |
String | thread_tag |
additional tag on the iteration variable, set this if this is bound already to a known thread tag. More... | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "tir.IterVar" |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
![]() | |
static constexpr const char * | _type_key = "ir.PrimExprConvertible" |
An iteration variable representing an iteration over a one dimensional interval.
The dtype of the extent of the dom
of the IterVar must match the dtype of the internal Var.
|
inlinestatic |
|
inlinefinalvirtual |
Implements tvm::PrimExprConvertibleNode.
tvm::tir::IterVarNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | IterVarNode | , |
PrimExprConvertibleNode | |||
) |
|
staticconstexpr |
|
staticconstexpr |
Range tvm::tir::IterVarNode::dom |
the domain of iteration, if known, can be None For the intermediate schedule node, before schedule.
IterVarType tvm::tir::IterVarNode::iter_type |
The type of the IterVar.
|
mutable |
Span that points to the original source code. Reserved debug information.
String tvm::tir::IterVarNode::thread_tag |
additional tag on the iteration variable, set this if this is bound already to a known thread tag.
Var tvm::tir::IterVarNode::var |
The looping variable.