move opt under codegen (#11569)

This commit is contained in:
George Hotz
2025-08-07 14:19:17 -07:00
committed by GitHub
parent 702e38dc19
commit 82be8abfd2
64 changed files with 106 additions and 106 deletions

View File

@@ -6,7 +6,7 @@ from tinygrad.schedule.kernelize import merge_views, view_left
from tinygrad.helpers import getenv, colored, prod, unwrap
from tinygrad.shape.shapetracker import ShapeTracker, View
from tinygrad.shape.view import strides_for_shape
from tinygrad.opt.kernel import axis_colors
from tinygrad.codegen.opt.kernel import axis_colors
def to_colored(full_shape, axis_types): return '_'.join([colored(str(s), axis_colors[at]) for s,at in zip(full_shape, axis_types)])