(bufs)
| 52 | run_linear(UOp(Ops.LINEAR, src=tuple(calls))) |
| 53 | |
| 54 | def zero_bufs(bufs): |
| 55 | for b in bufs: |
| 56 | mv = memoryview(bytearray(b.nbytes)) |
| 57 | ctypes.memset(from_mv(mv), 0, len(mv)) |
| 58 | b.copyin(mv) |
| 59 | |
| 60 | @unittest.skipUnless(Device[Device.DEFAULT].graph is not None, "graph support required") |
| 61 | class TestGraph(unittest.TestCase): |
no test coverage detected
searching dependent graphs…