diff options
| author | Amine El Mahouti <amine.elmahouti23@gmaiL.com> | 2026-11-25 18:15:39 +0100 |
|---|---|---|
| committer | Amine El Mahouti <amine.elmahouti23@gmaiL.com> | 2026-11-25 20:00:54 +0100 |
| commit | 1847fa73c1c80c89c099413f30dcbbfc50132fb0 (patch) | |
| tree | 53961254526d25781d20c2be6e951c8dbc9b63f6 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | 9f9a7c5f30f8559c52675780cf84004571b8d6e5 (diff) | |
test_cvt_norm_mods_probe: compute the expected f16 sweep once per op in FakeOracle
FakeOracle recomputed expected_sweep_words (exact Fraction arithmetic over
65,536 f16 inputs, about 1.2-1.6 s a call) for every sweep kernel it ran.
Cache it per op and hand each kernel a sliced copy, so the bad_word and
wave64_diff mutations never reach the cache.
The file runs in 24 s instead of 98 s (Linux, Python 3.14, i7-8650U), and
all 14 tests still pass. No change to the tool or its reference model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions