mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-07 03:00:26 -04:00
remove iter from uopgraph (#6110)
* remove iter from uopgraph * linearize returns uops * fix tests * linearize in linearize * tests fix * touchup * test failures
This commit is contained in:
@@ -28,7 +28,7 @@ if __name__ == "__main__":
|
||||
# confirm linearize can be called twice
|
||||
uops1 = lin.linearize().uops
|
||||
uops2 = lin.linearize().uops
|
||||
for x,y in zip(uops1.uops, uops2.uops):
|
||||
for x,y in zip(uops1, uops2):
|
||||
# for some reason DEFINE_ACC is changing the arg
|
||||
if x.op != y.op or x.dtype != y.dtype: # or x.arg != y.arg:
|
||||
uops1.print()
|
||||
|
||||
Reference in New Issue
Block a user