Scripts: require a cursor update when finding record writers #1720
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1730"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by jeroenhaentjens on 2026-11-24T20:00:03Z.
record_writers.pycounted a matched bounds check as a record writer even when the cursor store appeared only after a return or at a forward fallback target. Stop the scan at those boundaries and count a site only if its fast path stores the updated cursor.What is in it
scripts/re/record_writers.py. Add regressions for both boundaries and document the rule.Tested
c5788f8b098e099ee45914d1b83396de23434e21and GitHub head3c891ac137177c9e76d4ce9c96ceb2016f9adcffhave the same Git tree and parent. The runs used the local commit.cargo build --workspace --lockedpassed.cargo test --workspace --locked --no-fail-fast -- --test-threads=4reported 863 passed, 0 failed, 42 ignored.XCL_ADAPTER=nvidiaandXCL_HEAP_WINDOWS=1. The bundled title tests passed.gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware.python -B -m unittest discover -s scripts -p 'test_*.py'passed all 17 tests. Before the fix both synthetic listings reported one false site. After it both report zero, and the existing positive cases still report one.Regression run
Not tested
XCL_SAMPLE_*inputs were supplied.AI use
gpt-6.2-sol) investigated, wrote the change and regression test, ran the tests and drafted this description.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T22:37:45Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored.Thanks!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:00:50Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:36:36Z.
Triage (#1607) – head
3c891acNo open or merged PR makes this change. The lines shared with #2049 and #2660 are test boilerplate in
scripts/test_record_writers.py: #2049 refactors the CLI (argument handling,main()) and keeps the old body scan, #2660 changes how the fallback call slot is found. Main'srecord_writers.pystill counts a site without a cursor store.The new scan stops at the fallback target or a
retand drops sites without amov %P,0x18(%L); the test covers both boundaries. It will conflict with #2049's restructuring of the same loop.Nit: the README note lands between the GPU feature table and "Media and tools".
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.