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.
By now, we have three types of GEPs. (1 opr, 2 oprs, 3 oprs)
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.