upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 17:40:56 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 17:40:56 -0500
commitd0c0fe437a97880e2efb566bdcd14a6833786dba (patch)
tree476b108f4ee6c66496ef098c7baec313a9c6f7f7 /docs
parent08c750ce7f2922a93494398d7eb0299f1f2012a1 (diff)
parent6d9e4ac6698b3e124701715838367a553646f438 (diff)
Merge remote-tracking branch 'origin/pr/8988'
Diffstat (limited to 'docs')
-rw-r--r--docs/shader_validation.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/shader_validation.md b/docs/shader_validation.md
index 749c12f72..e8e283b11 100644
--- a/docs/shader_validation.md
+++ b/docs/shader_validation.md
@@ -1169,6 +1169,20 @@ Results (`--max-ops 16`, half wave32, half wave64, nothing skipped): it found `s
1169wave32 and `s_ff0_i32_b64` of a negative constant (#1409), both fixed on `main` since; on `main` 7b7d73f8, 600 of 1169wave32 and `s_ff0_i32_b64` of a negative constant (#1409), both fixed on `main` since; on `main` 7b7d73f8, 600 of
1170600 match (seeds 401 to 403). 1170600 match (seeds 401 to 403).
1171 1171
1172For one case from a default wave32 run, `tools/wave_trace.py` writes a self-contained HTML report. Use the seed,
1173zero-based case index, and `--max-ops` from `wave_diff.py --wave 32`. The report compares all 32 lanes after
1174initialization and after each subsequent instruction. Select a register or jump to the first observed mismatch.
1175
1176```powershell
1177python -I tools/wave_trace.py --seed 1 --case 0 --max-ops 12 --out wave.html
1178```
1179
1180Each checkpoint re-translates a shorter program with the same observation epilogue, so liveness and lowering can
1181change between checkpoints. The first mismatch identifies an observed prefix. The final checkpoint runs the full
1182original case. The tool uses synthetic programs and the CPU interpreters above. It writes a report for mismatches
1183and unavailable checkpoints as well. Exit 1 means a mismatch was observed, 2 means the comparison was incomplete
1184or the command failed, and 0 means all checkpoints matched.
1185
1172### 32-bit float VALU on the GPU (`tools/f32_fuzz.py`, FUZZ-3) 1186### 32-bit float VALU on the GPU (`tools/f32_fuzz.py`, FUZZ-3)
1173 1187
1174`--oracle hw` (or `translator,hw`) runs the same seeded VOP1/VOP2/VOP3 f32 programs natively on the AMD GPU and judges 1188`--oracle hw` (or `translator,hw`) runs the same seeded VOP1/VOP2/VOP3 f32 programs natively on the AMD GPU and judges