move graph/search to engine (#4596)

This commit is contained in:
George Hotz
2024-05-14 23:12:59 -07:00
committed by GitHub
parent afa9753d39
commit ff64bcab69
28 changed files with 33 additions and 33 deletions

View File

@@ -93,7 +93,7 @@ sched = create_schedule([out])
for si in sched: print(si.ast[0].op) # NOTE: the first two convert it to CLANG
# DEBUGGING: print the compute ast as a tree
from tinygrad.features.graph import print_tree
from tinygrad.engine.graph import print_tree
print_tree(sched[-1].ast[0])
# NOTE: sched[-1].ast is the same as st_0 above