upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authoriurysf <98192149+iurysf@users.noreply.github.com>2026-11-23 08:56:18 -0300
committeriurysf <98192149+iurysf@users.noreply.github.com>2026-11-23 08:56:18 -0300
commit1599b382d9fa417050d0f25907e0b5761235af6d (patch)
tree20175d4cbe493bf59cd1498a6731c4e550bb4651 /runtime/src/thread_stacks.cpp
parentf9dbe3bd8917055bcc4b7542252a75ffe1957e14 (diff)
FUZZ-55: Model the hw oracle's single lane in EXEC, make the Fma zero-sign skip vendor-neutral
Review follow-ups on #4536. abnalstlll-byte ran `--oracle hw` on a gfx1036 and got 1 mismatch ("word 1: expected 00000001 ffffffff, actual 00000001 00000001"). The hardware kernel runs one thread of a wave32, so EXEC starts as 1: a v_cmpx result read back through exec_lo is 1 or 0 there, while the translator and Vulkan oracles show the full 32-lane mask. The reference assumed 32 lanes for every oracle. ref_program now takes the starting EXEC mask and run_one passes HW_LANE_MASK (1) for --oracle hw; the other oracles keep 0xffffffff. A fake one-lane machine reproduces the reported mismatch with the old assumption and matches with the new one. Not confirmable here (no AMD GPU): that the same one-lane reading is all that differs on the real device. memorypressure noted that the constant-folded Fma zero-sign exclusion applies to every --oracle gpu run while its reason and the doc named one vendor. The reason is now vendor-neutral, the doc says it was observed on an NVIDIA RTX 4070 only, and a test pins that --oracle hw never uses it. AI-assisted (OpenBot team). Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions