mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 22:48:25 -05:00
fix abstracions2 printout (#5557)
This commit is contained in:
@@ -58,7 +58,7 @@ sink = LazyOp(MetaOps.KERNEL, (st_0,))
|
||||
# convert the computation to a "linearized" format (print the format)
|
||||
from tinygrad.engine.realize import get_kernel, CompiledRunner
|
||||
lin = get_kernel(Device[DEVICE].renderer, sink).linearize()
|
||||
for u in lin.uops: print(u)
|
||||
lin.uops.print()
|
||||
|
||||
# compile a program (and print the source)
|
||||
fxn = CompiledRunner(lin.to_program())
|
||||
|
||||
Reference in New Issue
Block a user