(u:UOp)
| 60 | return linear.replace(src=tuple(new_src)) |
| 61 | |
| 62 | def _copy_input(u:UOp) -> UOp: |
| 63 | run_linear(UOp(Ops.LINEAR, src=(u.copy_to_device(u.device).call(new:=UOp.new_buffer(u.device, u.arg, u.dtype), u, metadata=()),))) |
| 64 | return new |
| 65 | |
| 66 | @track_rewrites(lambda linear,held_bufs,input_uops,ret=(): f"JIT {pluralize('call', len(linear.src))}") |
| 67 | def jit_lower(linear:UOp, held_bufs:set[UOp], input_uops:list[UOp]) -> UOp: |
no test coverage detected
searching dependent graphs…