Commit graph

451 commits

Author SHA1 Message Date
qazal
a647c9eca6
sqtt ui minor fixes (#13335)
* roc.py cleanups

* direct append

* viz index cleanup

* simd row details
2025-11-19 01:27:56 +08:00
qazal
a37f221e44
viz: visualize waves in the timeline (#13292)
* viz: visualize waves in the timeline

* timeline in format

* per step

* rm that
2025-11-17 22:04:21 +08:00
qazal
50a443f558
viz: add shader engine to wave exec payload (#13310)
* viz: show sqtt shader engine

* order it from smallest unit

* easier to config
2025-11-17 19:11:34 +08:00
George Hotz
22c08b470c
fold using outerworld range (#13286)
* scan using outerworld range

* almost

* sched

* simple range

* mypy

* woooo outer range

* spec passes

* print the numbers

* lol it runs

* real test
2025-11-14 20:43:41 -08:00
qazal
7c110e1a57
viz: minor cleanups for sqtt (#13275)
* small prg cleanup

* test_timing
2025-11-15 01:08:56 +08:00
qazal
fe2876a6d8
hotfix: second GB/s in viz (#13240) 2025-11-13 07:14:27 +08:00
nimlgen
af17e07251
viz: sqtt touchups (#13228)
* viz: sqtt touchups

* revert

* matches
2025-11-12 22:40:37 +08:00
qazal
7a6853fa40
viz: show python callstack in the first graph (#13218) 2025-11-12 20:52:28 +08:00
qazal
74b9d33acb
viz: direct link to program source (#13227) 2025-11-12 16:27:13 +08:00
qazal
8002921a04
viz: improve the program run tooltip (#13212)
* add tflops to tooltip format

* show if the run was batched
2025-11-12 00:56:03 +08:00
qazal
f91e366a17
viz: display the graph layout recursion error (#13194)
* viz: display the graph layout recursion error

* share styles

* +min-width

* same thing

* inline the append
2025-11-11 15:25:12 +08:00
George Hotz
a6360fd94d
store can have shape (#13202)
* store can have shape

* _shape
2025-11-10 22:16:47 -08:00
qazal
50934050bc
sqtt: append all wave execs (#13190) 2025-11-10 23:50:08 +08:00
qazal
38a24731a1
cleanup sqtt tooling (#13188)
* cleanup viz/serve.py

* use latest profile in rgptool.py

* unwrap nullable in roc.py, fix disasms typing
2025-11-10 20:52:57 +08:00
qazal
845a24dcc6
viz: group sqtt waves by program (#13187)
* viz: group sqtt waves by program

* color the names
2025-11-10 19:25:23 +08:00
qazal
7250fc0354
viz: double click on kernel run goes to codegen (#13147) 2025-11-08 23:40:50 +08:00
qazal
8a7fa9e7b4
sqtt: show total cycles of kernel in viz (#13169) 2025-11-08 21:00:40 +08:00
qazal
d4a216d7d9
viz: display compiler errors (#13141) 2025-11-07 18:09:50 +08:00
wozeparrot
500d7661fa
feat: show range len on index in viz (#13139) 2025-11-06 23:21:27 -08:00
George Hotz
07b415e831
fixup op order (#13128)
* fixup op order

* more order

* move a few more

* more

* DEBUG_LINEARIZE
2025-11-06 08:50:04 -08:00
qazal
88245d6579
qol improvements to sqtt decoder and timing tests (#13125) 2025-11-06 20:51:30 +08:00
qazal
3126c89b84
viz: visible horizontal scrollbar in long texts (#13122) 2025-11-06 17:23:02 +08:00
qazal
b2bb3af12a
make range_color work in VIZ (#13121) 2025-11-06 14:26:48 +08:00
qazal
8119d9f082
sqtt: decode each instruction exec (#13093)
* sqtt: decode each instruction exec

* start tests

* run_asm

* capture sqtt per kernel

* chaining vgprs

* test things

* inst_execs in viz

* can also configure l and g

* 1l + cleanup

* test_sleep

* test_wmma

* work

* test sleep with llvm builtin
2025-11-05 17:30:27 +08:00
qazal
96417665e8
show sqtt decoder errs in viz (#13088)
* show sqtt decoder errs in viz

* don't touch roc.py

* give hljs a default language

* work from tinyr9

* work
2025-11-04 22:05:06 +08:00
qazal
2d2040bc92
viz: tabulate sqtt (#13078)
* viz: tabulate sqtt

* nomore asdict
2025-11-04 00:03:15 +08:00
qazal
1c0d4f1cd2
viz: counters loader (#12987)
* standalone custom loader

* first iteration on the ui

* work

* add center helper

* add edge offsets

* enumerate all edge types

* try dagre layout algorithm

* simpler spec

* bring back double edges

* more work on edge paths

* aesthetics

* custom edges also works

* dimmer inactive links

* cleanup

* cleanup

* split out the ncu layout

* this is just a k/v map now

* rm that

* more cleanup and comments

* do work

* also this work

* simpler start

* rm that

* sqtt work

* view sqtt

* sqtt

* --custom is just in profile

* wrap c call

* from tinygrad install

* eg. module not found
2025-11-03 19:42:36 +08:00
qazal
24054bb655
viz: check overlay width after layout (#13060) 2025-11-02 21:47:58 +08:00
George Hotz
962d980919
fuse hasn't worked since rangeify, remove it (#13057) 2025-11-02 14:01:52 +08:00
qazal
9f0c25ec48
viz: use indexing toggle for schedule graph (#13031) 2025-10-31 15:32:08 +08:00
qazal
564e9ccc31
fix show indexing toggle default on (#13030) 2025-10-31 14:41:15 +08:00
qazal
6cd341354e
viz: add toggle to hide indexing UOps (#13027)
* start

* pass opts to worker

* works

* rename to showIndexing

* keep toggle through rewrites

* fix nan

* real fix for nan

* move render function

* fix firefox

* fix safari

* more work
2025-10-31 13:21:11 +08:00
George Hotz
b46229ca51
use shrink in amd_matmul_uop (#13026)
* use shrink in amd_matmul_uop

* colors
2025-10-31 10:43:41 +08:00
George Hotz
512513c403
cleanup amd uop matmul (#13025)
* cleanup amd uop matmul

* remove mod

* move that out

* better variable names

* var names

* more

* render fallback

* colors
2025-10-31 10:04:45 +08:00
George Hotz
e64d4b3b44
uops programs (#13005)
* uops programs

* work

* work

* more syntax

* more syntax

* comments
2025-10-30 12:28:10 +08:00
qazal
a7dac11aad
viz: keep rewrite step in back button history (#12986) 2025-10-29 11:09:43 +08:00
qazal
37967fa17b
viz: add integer query param helper and more typing (#12985)
* viz: query param helper

* json.dumps once
2025-10-29 10:44:01 +08:00
qazal
901d27b3ba
viz: optional text dims try 2 (#12971) 2025-10-28 18:54:28 +08:00
George Hotz
907499b02c
clean up GROUP/SINK (#12969)
* clean up GROUP/SINK

* fix end

* range_str color
2025-10-28 16:08:10 +08:00
qazal
3b82dee625
viz: match DEBUG=2 for exec item metadata (#12966)
* viz: match DEBUG=2 for exec item metadata

* remove repr from kernel
2025-10-28 14:53:57 +08:00
qazal
99589dea81
move viz edge tagging to UOp graph (#12964) 2025-10-28 12:46:23 +08:00
qazal
63484d837e
Revert "viz graph drawing cleanups (#12933)" (#12947)
This reverts commit 189582db5e.
2025-10-28 00:39:37 +08:00
qazal
e93c9bf6a7
viz: extend main code block to full height (#12944) 2025-10-27 18:43:49 +08:00
George Hotz
273b1f914d
new pyrender, tested with SPEC=2 (#12934)
* pyrender always works with SPEC=3

* test pyrender

* work

* work

* work

* .sintify

* v const

* kernelize

* pyrender

* viz always

* optional forced_reshape

* cleanups
2025-10-27 18:41:51 +08:00
George Hotz
701a632907
move VECTORIZE/CONST (#12942) 2025-10-27 17:37:13 +08:00
qazal
189582db5e
viz graph drawing cleanups (#12933)
* viz: make node label dims optional

* inplace edge updates

* change that
2025-10-27 13:59:32 +08:00
qazal
70ba84eb04
viz: generic node label centering (#12925)
* viz: correct node label centering

* matches

* overlay

* the other way
2025-10-27 12:02:34 +08:00
qazal
c94e597b3e
viz ui selector cleanups (#12924) 2025-10-26 14:40:47 +08:00
qazal
3b192f5eac
split viz graph rendering from dag layout (#12914) 2025-10-25 15:36:44 +08:00
George Hotz
6b35467f53
stores don't end ranges (#12902)
* early endrange

* bugfixes
2025-10-24 23:05:03 +08:00