From 4193095f671d9af2bc0fa65bf823b4e5cf5fe22c Mon Sep 17 00:00:00 2001 From: chenyu Date: Wed, 17 Jul 2024 14:50:47 -0400 Subject: [PATCH] fix handcode_opt.py with DEBUG=2 (#5530) only one ast per kernel now --- examples/handcode_opt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/handcode_opt.py b/examples/handcode_opt.py index 3335ce3599..fe7543bf06 100644 --- a/examples/handcode_opt.py +++ b/examples/handcode_opt.py @@ -82,7 +82,7 @@ if __name__ == "__main__": ops = get_lazyop_info(si.ast.src[0]).flops if DEBUG >= 2: - for ast in si.ast: print_tree(ast) + print_tree(si.ast) rawbufs = bufs_from_lin(Kernel(si.ast))