(ctx:AllocCtx, x:UOp)
| 11 | replacements: list[UOp] = field(default_factory=list) |
| 12 | |
| 13 | def tag_uop(ctx:AllocCtx, x:UOp): |
| 14 | if x.tag is not None: return None |
| 15 | ctx.uop_list.append(x) |
| 16 | return x.replace(tag=(len(ctx.uop_list)-1,)) |
| 17 | |
| 18 | def disk_copy_is_buffer(ctx:AllocCtx, u:UOp): |
| 19 | # copies to disk are replaced with the disk buffer |
no test coverage detected
searching dependent graphs…