(ctx:dict[UOp, None], tr:UOp)
| 12 | Ops.DEFINE_LOCAL, Ops.DEFINE_REG, Ops.LOAD, Ops.CALL, Ops.FUNCTION} |
| 13 | |
| 14 | def realize(ctx:dict[UOp, None], tr:UOp) -> None: ctx[tr] = None |
| 15 | |
| 16 | def realize_srcs(ctx:dict[UOp, None], rb:UOp) -> None: |
| 17 | for s in rb.src: |
| 18 | if s.base.op not in ALWAYS_CONTIGUOUS: ctx[s] = None |
| 19 | |
| 20 | def realize_store_after_src(ctx:dict[UOp, None], dest:UOp, src:UOp): |
| 21 | # don't realize COPY/BUFFER_VIEW when they are the direct source of STORE+AFTER — the target buffer is the output |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…