mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-08-29 10:16:07 +00:00
move uops print to debug >= 6 (#9659)
This commit is contained in:
@@ -679,7 +679,7 @@ class Kernel:
|
||||
#if __debug__: type_verify(list(modified_ast.toposort), shape_spec)
|
||||
|
||||
self.uops:list[UOp] = linearize_uop(full_graph_rewrite(rewrite_shapetracker_with_index(modified_ast, self.opts), self.opts))
|
||||
if DEBUG >= 5: print_uops(self.uops)
|
||||
if DEBUG >= 6: print_uops(self.uops)
|
||||
return self
|
||||
|
||||
def to_program(self, name_override:Optional[str]=None, ast_transform:Optional[Callable]=None) -> ProgramSpec:
|
||||
|
||||
Reference in New Issue
Block a user