Merge branch 'master' into call_is_kernel

This commit is contained in:
George Hotz
2026-02-06 11:33:06 +08:00
committed by GitHub

View File

@@ -19,8 +19,7 @@ def realize_srcs(ctx:dict[UOp, None], rb:UOp) -> None:
def realize_assign(ctx:dict[UOp, None], a:UOp) -> None:
if a.src[1].op not in ALWAYS_CONTIGUOUS: ctx[a.src[1]] = None
# if it's a kernel, we don't realize it
if a.src[1].op is not Ops.KERNEL: ctx[a] = None
ctx[a] = None
pm_generate_realize_map = PatternMatcher([
# always realize SINK src