mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 22:48:25 -05:00
s/get_linearizer/get_kernel [run_process_replay] (#5467)
This commit is contained in:
@@ -56,8 +56,8 @@ st_0 = LazyOp(BufferOps.STORE, (alu,), MemBuffer(0, dtypes.int32, ShapeTracker.f
|
||||
sink = LazyOp(MetaOps.SINK, (st_0,))
|
||||
|
||||
# convert the computation to a "linearized" format (print the format)
|
||||
from tinygrad.engine.realize import get_linearizer, CompiledRunner
|
||||
lin = get_linearizer(Device[DEVICE].renderer, sink).linearize()
|
||||
from tinygrad.engine.realize import get_kernel, CompiledRunner
|
||||
lin = get_kernel(Device[DEVICE].renderer, sink).linearize()
|
||||
for u in lin.uops: print(u)
|
||||
|
||||
# compile a program (and print the source)
|
||||
|
||||
Reference in New Issue
Block a user