Repository navigation
Conversation
|
Tested d4e5972 on NVIDIA GeForce RTX 3080 Ti Laptop (Ampere, subgroup 32..32), NVIDIA 621.24, Vulkan 1.4.357, Windows 11 Pro (build 26300): pass Runtime built at this head with
|
|
Independent hardware verification of The fixture verified on a second cardRX 6900 XT (RDNA2 / GFX1030, Navi 21, PCI 1002:73bf), RADV NAVI21, Mesa 26.2.4, Vulkan 1.4.354, Nobara Linux 44, kernel 7.2.10, subgroup 32..64, run at Which is To be precise about what this proves: the fixture is Five defects in the row edits1. All five rows say "native wave64", but the fixture is wave32. It is 2. 3. Stale "Not GPU-verified" survives inside the edited rows. The added lines contain the literal string six times, so a row reads
The orphan 4. L317 overstates the rounding. Related, on ties generally: both probes ( 5.
Also, What I did not checkYour CI: SummaryThe eight expected words are arithmetically correct and I reproduced them on RDNA2 — including the tie-to-even AI-assisted: yes (Hermes Agent) — ran the fixture on an RX 6900 XT and verified each defect above with the commands named. |
…_pknorm_*_f16 and v_mac_legacy_f32 docs/design.md marks these float VALU rows not GPU-verified: the translations were CPU-checked (and, except v_mac_legacy_f32, the instructions measured on hardware), but the translated SPIR-V never ran on a GPU. cs_vfloat_ext.asm runs one lane through v_cmp_class_f16 (sNaN, -denormal, -inf, a miss) and v_cmp_class_f64 (-0, a qNaN against the sNaN bit, the smallest +denormal, +inf), one bit per case; v_fmamk_f16 and v_fmaak_f16 in both print orders, including the one rounding of (1+2^-10)*3 to 0x4202, with the high half kept; v_cvt_pknorm_i16_f16/u16_f16 at the even rounding of 0.5*32767, -inf, NaN and a clamped 2.0; and v_mac_legacy_f32 with the legacy 0 * inf = +0 rule. The eight expected words are derived in its header from the rows. Registered in check.py and run_gpu_tests.py next to cs_lds_atomics_ext; the five rows note the GPU check.
d4e5972 to
02af032
Compare
|
GPU test on an NVIDIA Ada card, for the record: this passes on an RTX 4090.
Only the filtered fixture(s) were run for this PR, not the full suite or ctest; the full-suite baseline for this card on |
Takes over draft #135 (carried over from the original repo by its author, KoLolX3). Adds a synthetic GPU fixture for floating-point class, f16 FMA and normalized conversions, and legacy multiply-add translations.
Rebased on
main3f81d46a, preserving newer contract documentation and thecs_w64x_cmp_sdsttest registration. The fixture tests translated SPIR-V; its result does not establish native hardware behavior for the original AMD opcodes.Tested on AMD Radeon RX 7900 XT (RADV NAVI31, Mesa 26.3.1, Linux): the fixture translated and passed
spirv-val, and all eight expected words matched with subgroup size 32 in native andLEONIDA_W64_EMULATE=1builds.python -I tests/test_run_gpu_tests.pypassed 68 tests; the semantic suite passed 6,279 tests in 487 files. Compileall,make_game.py --help,check_no_game_data.pyon changed files andgit diff --checkpassed. Synthetic fixtures only, no game files.AI-assisted: yes (Claude Code and OpenAI Codex).