mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
add name uop (#9149)
* add name uop, TODO: refactor renderer to use * renderer uses name uop * fix tests * render * ptx
This commit is contained in:
@@ -952,7 +952,7 @@ class TestLinearizer(unittest.TestCase):
|
||||
sink = UOp(Ops.SINK, src=(store,))
|
||||
lin = Kernel(sink)
|
||||
lin.linearize()
|
||||
assert len(lin.uops) <= 9, "too many uops"
|
||||
assert len(lin.uops) <= 10, "too many uops"
|
||||
|
||||
def test_upcast_cse(self):
|
||||
# when upcasting, within a subtree, there may be common expressions.
|
||||
|
||||
Reference in New Issue
Block a user