upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-25 09:12:38 +0200
committerMan Alin <whoalin414@gmail.com>2026-11-30 22:31:48 +0000
commitac58ddc5042f19de433be747c44867defc41a601 (patch)
tree70d7471d913f93d3ccd90a3337d75f3896452abf /tests/test_run_gpu_tests_python_assembler.py
parentb1f91c2f938fa9f4e082d612f412a0c57a8e3b87 (diff)
fmisc_diff: do not judge the class bits of a NaN whose quiet bit is unmodelled
A fuzzed sNaN through v_fmamk_f32 into v_cmp_class_f32 flipped a result bit on both Vulkan GPUs against the reference model. The model returns a canonical quiet NaN for v_fmamk_f32, but on gfx1036 under the game's MODE the hardware mostly returns the NaN source's word and only sometimes quiets a signalling one (f32_hw_s5.log), so whether the result tests as signalling or quiet is not something the model can know. Track registers holding such a computed NaN (st["nanf"], set by v_fmamk_f32 with a signalling or already-fuzzy NaN operand and propagated through the pass-through ops and register moves) and raise Uncertain when v_cmp_class_f32 reads one, instead of reporting a mismatch that is a model gap, not a translator bug. Co-Authored-By: Devin <noreply@cognition.ai>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions