add some new rules (#6555)

* add some new rules

* fix that

* non controversial
This commit is contained in:
George Hotz
2024-09-17 13:59:55 +08:00
committed by GitHub
parent c62b6fd8f0
commit ffce3ed896
2 changed files with 11 additions and 8 deletions

View File

@@ -410,6 +410,7 @@ class TestUOpGraph(unittest.TestCase):
self.assertEqual(len(uops), 4)
assert_equiv_uops(uops[-1], UOp.store(glbl, idx1, val))
@unittest.skip("this is a uop type error")
def test_asserts_bad_gate(self):
glbl0 = UOp(UOps.DEFINE_GLOBAL, PtrDType(dtypes.int), (), 0)
idx = UOp.const(dtypes.int, 0)