Repository navigation
Conversation
|
Code read plus a GPU check on new hardware. Pass. Read: the rewritten cell keeps every measurement the old one had ( GPU: AI-assisted (Claude Code). |
Kam471
left a comment
There was a problem hiding this comment.
Head 82f82b3 — docs-only; Windows 11.
python -I -m pytest tests/test_docs_design_rows.py tests/test_design_contract_rows.py tests/test_docs_links.py -q→ 14 passed, 6 subtests passed.python -I -m pytest tests/test_progress_dashboard.py -q→ 26 passed.progress_dashboard.classify_contracton the row: base('not_gpu', 'partial', 'unmeasured')→ this branch('gpu', 'verified', 'GPU-verified'); the stated classification change holds.LEONIDA_VK_DEVICE='RTX 5070 Ti' python -I scripts/run_gpu_tests.py --build <main-translator build> --filter ps_f16_pack_mods(this branch changes no code) →PASS ps_f16_pack_mods 4096/4096 pixels exact, 1/1; the row's added GPU result reproduces on a third GPU.git diff --checkclean.
No unmeasured / never run on hardware fragments remain in the row, and each measured fact appears once.
Verdict: LGTM.
|
Read 82f82b3: pass with notes
Read:
AI-assisted (Claude Code). Generated by Claude Code |
x2Tweek
left a comment
There was a problem hiding this comment.
AI-assisted.
Independent CPU review of PR #5297 (docs: clean up the v_pack_b32_f16 source modifiers row and record its GPU-verified result).
The diff applies cleanly to the current docs/design.md blob. The row already documents hardware verification on RDNA2 (gfx1035/gfx1036, 1,088 raw kernels, 0 mismatches, @Sanonymous01's measurement) and names the CPU checks (tests/test_values.py, tests/semantic/test_vop3_const_mods.py, tests/semantic/test_pack_b32_f16_mods.py). This change cleans up duplicated/contradictory "Not modelled: ... / Not GPU-verified" wording and adds the GPU-verified translator result via the ps_f16_pack_mods fixture (4,096/4,096 pixels exact on AMD RADV RAPHAEL_MENDOCINO / Mesa 26.2.6 and NVIDIA GeForce RTX 5080 / driver 620.70.06 — author-reported measurement; I cannot reproduce those two devices here, this machine has an RTX 5090).
Verified locally:
- tests/semantic/test_pack_b32_f16_mods.py passes (part of 13 passed / 316 subtests).
- ps_f16_pack_mods fixture exists and is wired in runtime/test/shaders/check.py and scripts/run_gpu_tests.py.
- Diff base blob d32503f1a8 matches HEAD's docs/design.md, so it applies cleanly.
The remaining "Not modelled: IEEE mode 1 also quiets a signalling-NaN half ... SHADER-190" sentence is correctly retained (it is a genuine open item, not a stale marker).
Docs-only, no translator/runtime change. The cleanup is accurate.
🤖 Generated with Claude Code
|
Reviewed 82f82b3 (code read + history of the
Also: #5402 edits the same line, so the two will conflict; whichever lands second needs a rebase. AI-assisted (Claude Code). |
|
Tested 82f82b3 merged with main 3ae0654 on Linux/Python 3.12.16: concern |
The row for
v_pack_b32_f16source modifiers indocs/design.mdhad several merged measurements spliced into one cell:absandneg_abswere called hardware-verified and called never run on hardware in the same sentence, and theneg-only measurement was stated twice. This keeps one coherent version of the verified facts, drops the duplicated fragments, and removes the strayunmeasured, which madetools/progress_dashboard.pyclassify the row as partial. Its own rule now reads the row as GPU-verified.It also records the translator's GPU result for the fixture the row cites.
ps_f16_pack_mods(runtime/test/shaders/ps_f16_pack_mods.asm) appliesneg,absandneg_absto both source halves withop_sel; translated bytools/rdna2spirv.pyit gives 4,096/4,096 exact pixels on AMD RADV RAPHAEL_MENDOCINO (Ryzen 9 9950X3D iGPU, Mesa 26.2.6-arch3.1) and on NVIDIA GeForce RTX 5080 (driver 620.70.06), both onmainwith no local changes. The negative control patches the translator sonegflips bit 14 instead of the sign bit: the same fixture then mismatches all 4,096 pixels on both GPUs, so the fixture is what measures the row's rule.No translator file changes; the row's existing raw-kernel measurements are @Sanonymous01's and are kept as they are.
AI-assisted.