diff options
| author | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 04:24:43 +0000 |
|---|---|---|
| committer | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 04:24:56 +0000 |
| commit | 96ad53721ee6217af6f5861b93464cfc5b92553e (patch) | |
| tree | 8e46e066c44f59656c0960e5ed27708e8eb3086a /runtime/src/xma2_decoder.cpp | |
| parent | 98fa503f8a19c3ed65df1f4f2f0e4571aa42c4f7 (diff) | |
tools/dot_diff.py: differential fuzzer for the packed integer dot products
Covers the 12 v_dot* ops the translator lowers: the six VOP3P forms and the
six accumulating c forms (v_dot4c_i32_i8 is the gfx103x one; the others are
gfx908 syntax the translator also takes). A Python integer reference, sharing
no code with the translator, is compared bit for bit with the translation run
in spirv_mini_interp.
Three stages: a sweep of every encodable source-kind combination with and
without clamp (671 programs), an edge grid of lane extremes against
accumulators on the saturation bounds (2,944 cases), then random programs.
The reference is pinned to the 15 words measured on gfx1036 in
tests/semantic/test_alu_dot4_i8.py.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions