mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05: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:
@@ -62,7 +62,6 @@ s = UOp(UOps.SINK, None, (st_0,))
|
||||
# convert the computation to a "linearized" format (print the format)
|
||||
from tinygrad.engine.realize import get_kernel, CompiledRunner
|
||||
kernel = get_kernel(Device[DEVICE].renderer, s).linearize()
|
||||
kernel.uops.print()
|
||||
|
||||
# compile a program (and print the source)
|
||||
fxn = CompiledRunner(kernel.to_program())
|
||||
|
||||
Reference in New Issue
Block a user