|
tvm
|
Construct a vector with lanes elements where its i-th element equals base + i * stride. This is useful to construct a index for a continuous vector load. More...
#include <expr.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("tirx.Ramp", RampNode, ExprNode) | |
Public Member Functions inherited from tvm::ExprNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprNode, ffi::Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::ExprNode | |
| static void | RegisterReflection () |
Public Attributes | |
| PrimExpr | base |
| The base value. More... | |
| PrimExpr | stride |
| The stride of each step. More... | |
| PrimExpr | lanes |
| Total number of lanes. More... | |
Public Attributes inherited from tvm::ExprNode | |
| Span | span |
| Span that points to the original source code. Reserved debug information. More... | |
| Type | ty = Type::Missing() |
| The deduced or annotated type of the expression. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::ExprNode | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
| static constexpr const uint32_t | _type_child_slots = 64 |
Construct a vector with lanes elements where its i-th element equals base + i * stride. This is useful to construct a index for a continuous vector load.
Examples:
|
inlinestatic |
| PrimExpr tvm::tirx::RampNode::base |
The base value.
| PrimExpr tvm::tirx::RampNode::lanes |
Total number of lanes.
| PrimExpr tvm::tirx::RampNode::stride |
The stride of each step.