Skip to content

[P1] Stride needed (additional operands) for the GEP #305

@Jackcuii

Description

@Jackcuii

By now, we have three types of GEPs. (1 opr, 2 oprs, 3 oprs)

operations:
                - opcode: "GEP"
                  id: 119
                  time_step: 17
                  invalid_iterations: 1
                  src_operands:
                    - operand: "#16"
                      color: "RED"
                    - operand: "$17"
                      color: "RED"
                    - operand: "$2"
                      color: "RED"
                  dst_operands:
                    - operand: "SOUTH"
                      color: "RED"

For A[i][j], the GEP will be GEP(base(A), i, j), however, we need the stride/shape of A to get the correct result.

It could be either an individual operand or it is calculated out of the GEP.

Metadata

Metadata

Labels

new featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions