|
docc 0.8.3 (0d44999b)
C++ API Reference
|
A single einsum dimension's contribution to one operand's access subset. More...
#include <sdfg/einsum/einsum_detection.h>
Public Member Functions | |
| symbolic::Expression | factor_expr () const |
Public Attributes | |
| symbolic::Symbol | indvar |
| Induction variable of the contributing dimension. | |
| size_t | index = 0 |
| Index position within the original subset that this dimension contributes to. | |
| int64_t | factor = 1 |
| Integer coefficient of the indvar within that index expression. | |
A single einsum dimension's contribution to one operand's access subset.
The dimension's induction variable appears in exactly one index position of the operand's subset, scaled by an integer factor to support linearized accesses (e.g. i in [k + i*8] contributes to index position 0 with factor 8).
| symbolic::Expression sdfg::einsum::EinsumIndexContribution::factor_expr | ( | ) | const |
| int64_t sdfg::einsum::EinsumIndexContribution::factor = 1 |
Integer coefficient of the indvar within that index expression.
| size_t sdfg::einsum::EinsumIndexContribution::index = 0 |
Index position within the original subset that this dimension contributes to.
| symbolic::Symbol sdfg::einsum::EinsumIndexContribution::indvar |
Induction variable of the contributing dimension.