From 048483ee0b8d6165f32aa2fa6ff2fa2bb1413875 Mon Sep 17 00:00:00 2001 From: qazal <77887910+Qazalin@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:36:59 +0800 Subject: [PATCH] viz fold const nodes and UOp/float4 syntax highlight (#6695) * fold const nodes * show rewrite count * hotfix: cpp * more syntax highlight * custom language definitions * only cpp * small fixups for UPat * extend python * cleanups * rewrites helper * better message --- viz/index.html | 50 +++++++++++++++++++++++++++++++++---------------- viz/serve.py | 19 ++++++++++++------- viz/test_viz.py | 16 +++++++++++++++- 3 files changed, 61 insertions(+), 24 deletions(-) diff --git a/viz/index.html b/viz/index.html index 98c2d7cd79..2400f99c3b 100644 --- a/viz/index.html +++ b/viz/index.html @@ -12,7 +12,8 @@ - + +