Repository navigation
docs/testing: one copy of the fused multiply-add section (DOC-TESTING-FMA-DEDUP) - #1595
GTAVIB4GTAVI wants to merge 1 commit into
Conversation
|
Reviewed fbbda0a: docs-only de-dup of docs/testing.md's fused multiply-add section. On both this branch and main: tests/test_docs_design_rows.py and scripts/check_no_game_data.py pass; a token-diff probe shows no GPU/driver/version/op/hex constant from main is lost, only the duplicates drop; the kept wording matches check.py's judge_fma_fused (glsl: per-word fused-or-split with the f16 word strict; khr/exact: all 8 strict), so replacing "failing cs_fma_fused" with "give the split value" is right. No findings. AI-assisted review. Recommendation: Merge |
…G-FMA-DEDUP) Two copies of the cs_fma_fused paragraph were interleaved by a repeated merge: the RADV sentence twice (2426df3 and its em-dash revision 53bc2c4), "operands taken from user SGPRs" twice, Intel UHD Xe-LP and LEONIDA_FMA=exact each described twice. Keep one of each. No number, driver version or device changes. The kept wording matches check.py's judge_fma_fused: under --fma glsl each f32 word may be fused or split, so the older copy's "failing cs_fma_fused with glsl" is now "give the split value". Dropped only the superseded draft clause "(reusing the live a * a product in v3)", which its own author revised away. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: coolpilot904 <andrewjsottile@icloud.com>
fbbda0a to
fbbf6ab
Compare
|
Rebased onto |
Claimed in the coordination issue as: DOC-TESTING-FMA-DEDUP (not yet posted there: #14 is at GitHub's 2,500-comment cap and rejects new comments)
What and why
The "Fused multiply-add: GLSL Fma or OpFmaKHR" section of
docs/testing.mdis two copies of one paragraph that a repeated merge interleaved:LEONIDA_FMA=exactexplained twice.This keeps one copy of each and nothing else: 8 lines added, 21 removed, and no number, driver version or device dropped or changed (every number and 0x word in the section is in both versions). Two wording points:
cs_fma_fusedwithglsl".judge_fma_fusedinruntime/test/shaders/check.py(shared withrun_gpu_tests.py) accepts the fused or the split word per f32 output under--fma glsl, so the kept text says they "give the split value" in words 0, 2, 3 and 5 instead.a * aproduct inv3)" is dropped with that draft, as its own revision did.This is a different block from the one DOC-DUP-SECTIONS (#1153) removed. #1399 also edits
docs/testing.md(a Known-problems row); the two merge cleanly (git merge-tree).Tested
On
mainc7e82e2:python -I tests/test_docs_*.py: all 12 OK (test_docs_repeated_lines.pyalso passes onmainbefore this change: it only catches neighbouring repeated lines).python -I scripts/check_no_game_data.py docs/testing.md: clean.git diff --check: clean; no line over 119 columns.GPUs tested: n/a (docs only)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: docs only)🤖 Generated with Claude Code