(b:int)
| 628 | self.assertListEqual(layout[2:], ["TEST:1", "TEST:1 N1", "TEST:1 N2", "TEST:1:ENGINE:0", "TEST:1:ENGINE:0 N1", "TEST:2 N1"]) |
| 629 | |
| 630 | def _alloc(b:int): |
| 631 | a = Tensor.empty(b, device="NULL", dtype=dtypes.char) |
| 632 | a.uop.buffer.allocate() |
| 633 | return a |
| 634 | |
| 635 | class TestVizMemoryLayout(unittest.TestCase): |
| 636 | def test_double_alloc(self): |
no test coverage detected
searching dependent graphs…