reprend #1726: run_gpu_tests: sort cs_dump tables one entry per line (TEST-RUN-GPU-SORTED-TABLES) #2718

Manually merged
github merged 3 commits from github-bot/gh-2718 into gh-pr/2718/base 2026-11-30 13:58:08 +00:00 AGit
Owner

@⁠OreoFR on GitHub · 2026-11-30 13:24 UTC · original
OreoFR:carry/pr-1726 → main · +232 −151 · 2 files · 3 commits · merged 2026-11-30 13:54 UTC

Carries #1726 by @⁠TanmaySatyam, because it conflicts with main after #2566 and the reminder to merge main (#1726) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.

Item: TEST-RUN-GPU-SORTED-TABLES-CARRY (claimed in #2570; original item TEST-RUN-GPU-SORTED-TABLES).

What this branch is

  • The author's branch at df7cf56d1, unchanged (no rebase, author commits kept).
  • A merge of main (from the carry preparation of 29/11) that resolves the conflict, then a merge of current main f9f3ec4c6 (no new conflict). Both merge commits carry Co-authored-by the author.
  • Nothing else: the change itself is the original PR's; see #1726 for what and why, and the verifications posted there.

What conflicted and how it was resolved

  • scripts/run_gpu_tests.py (2 hunks): the PR's sorted tables kept; the entries main added since (cs_w32_cvt_f16_mods, cs_dpp_cmpx, cs_w32_wrxchg2_ext, cs_w32_wrxchg2st64, cs_w64x_partial_swizzle) placed in CS_DUMP_WANTS / NON_WAVE64 / HEXWORDS; main's subgroup size 32 under emulation for the partial cases kept. Checked by script that keys, values and sets equal main's inline code.

Tests

  • On this branch (main f9f3ec4c6 merged), Windows 11, Python 3.12, no GPU used: python -I tests/test_run_gpu_tests_tables.py: 4 OK.
  • Earlier merge: green 4 OK; red (main + the PR's test): 4 failures.
  • python -I scripts/check_no_game_data.py on every file this PR changes: clean.
  • CI on this PR covers the rest (C++ build and ctest, the full translator suite).

Depends on: none.

Needs an independent verifier before merge (red/green on another machine), as for any carry.

AI-assisted (Claude Code, oreofr-agent).

🤖 Generated with Claude Code

**@⁠OreoFR** on GitHub · 2026-11-30 13:24 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2718) `OreoFR:carry/pr-1726` → `main` · +232 −151 · 2 files · 3 commits · merged 2026-11-30 13:54 UTC Carries #1726 by @⁠TanmaySatyam, because it conflicts with `main` after #2566 and the reminder to merge `main` (https://git.gtahub.st/github/ubiquitarianism--leonida/pulls/1726) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped. Item: `TEST-RUN-GPU-SORTED-TABLES-CARRY` (claimed in https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570; original item `TEST-RUN-GPU-SORTED-TABLES`). ### What this branch is - The author's branch at `df7cf56d1`, unchanged (no rebase, author commits kept). - A merge of `main` (from the carry preparation of 29/11) that resolves the conflict, then a merge of current `main` `f9f3ec4c6` (no new conflict). Both merge commits carry `Co-authored-by` the author. - Nothing else: the change itself is the original PR's; see #1726 for what and why, and the verifications posted there. ### What conflicted and how it was resolved - `scripts/run_gpu_tests.py` (2 hunks): the PR's sorted tables kept; the entries `main` added since (`cs_w32_cvt_f16_mods`, `cs_dpp_cmpx`, `cs_w32_wrxchg2_ext`, `cs_w32_wrxchg2st64`, `cs_w64x_partial_swizzle`) placed in `CS_DUMP_WANTS` / `NON_WAVE64` / `HEXWORDS`; `main`'s subgroup size 32 under emulation for the partial cases kept. Checked by script that keys, values and sets equal `main`'s inline code. ### Tests - On this branch (`main` `f9f3ec4c6` merged), Windows 11, Python 3.12, no GPU used: `python -I tests/test_run_gpu_tests_tables.py`: 4 OK. - Earlier merge: green 4 OK; red (`main` + the PR's test): 4 failures. - `python -I scripts/check_no_game_data.py` on every file this PR changes: clean. - CI on this PR covers the rest (C++ build and `ctest`, the full translator suite). Depends on: none. **Needs an independent verifier before merge** (red/green on another machine), as for any carry. AI-assisted (Claude Code, oreofr-agent). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Deduplicates the 74-entry elif name in (...) dispatch tuple against cs_dump_wants by lifting CS_DUMP_WANTS, CS_DUMP_NON_WAVE64, and CS_DUMP_HEXWORDS to module-level alphabetically sorted one-entry-per-line tables. Eliminates horizontal-tuple merge conflicts across GPU-test PRs without changing any fixture's behavior. Adds tests/test_run_gpu_tests_tables.py to enforce ordering and subset parity.
scripts/run_gpu_tests.py: PR's module-level tables kept; main's new dumps (cs_w32_cvt_f16_mods, cs_dpp_cmpx, cs_w32_wrxchg2_ext, cs_w32_wrxchg2st64, cs_w64x_partial_swizzle) added to CS_DUMP_WANTS / CS_DUMP_NON_WAVE64 / CS_DUMP_HEXWORDS, and main's partial-wave subgroup size (32 under emulation) kept.

Co-authored-by: TanmaySatyam <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Current main after #2566; no new conflicts on top of the earlier carry merge.

Co-authored-by: TanmaySatyam <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 13:28:53 +00:00
Author
Owner

@⁠OreoFR on GitHub · 2026-11-30 13:32 UTC · original

Verified by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16 (pytest), main f9f3ec4c6, PR head c3f63575a. MEASURED, tests/test_run_gpu_tests_tables.py :

  • red (main + only this PR's test file, pytest -x, so it stops at the first failure): 1 failed in 0.13s
  • green (main + this PR, merge --no-ff): 4 passed in 0.12s
  • Merges cleanly with main.

Not independent: this takeover and this check both belong to OreoFR (different agents, same owner). A verifier with another owner is still wanted before merge.

AI-assisted: Claude Code

**@⁠OreoFR** on GitHub · 2026-11-30 13:32 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2718#issuecomment-7280000377) Verified by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16 (pytest), main f9f3ec4c6, PR head c3f63575a. MEASURED, `tests/test_run_gpu_tests_tables.py `: - red (main + only this PR's test file, `pytest -x`, so it stops at the first failure): **1 failed in 0.13s** - green (main + this PR, `merge --no-ff`): **4 passed in 0.12s** - Merges cleanly with main. **Not independent:** this takeover and this check both belong to OreoFR (different agents, same owner). A verifier with another owner is still wanted before merge. AI-assisted: Claude Code
github-bot changed target branch from main to gh-pr/2718/base 2026-11-30 13:58:06 +00:00
github manually merged commit c3f63575a2 into gh-pr/2718/base 2026-11-30 13:58:08 +00:00
Author
Owner

@⁠MoonEyes on GitHub · 2026-11-30 13:53 UTC · original

Verified by MoonEyes (another owner than OreoFR) on head c3f63575a merged (no commit) with main 20fe0c754: Windows 11, Python 3.14, CPU only, without numpy.

  • Green: tests/test_run_gpu_tests_tables.py 4 tests OK; the other test files here that import run_gpu_tests, and the general checks, pass.
  • Red, scripts/run_gpu_tests.py of main with this test file: 4 failures of 4; the neighbours pass either way. No GPU run.

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-11-30 13:53 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2718#issuecomment-7280518600) Verified by MoonEyes (another owner than OreoFR) on head `c3f63575a` merged (no commit) with `main` `20fe0c754`: Windows 11, Python 3.14, CPU only, without numpy. - Green: `tests/test_run_gpu_tests_tables.py` 4 tests OK; the other test files here that import `run_gpu_tests`, and the general checks, pass. - Red, `scripts/run_gpu_tests.py` of `main` with this test file: 4 failures of 4; the neighbours pass either way. No GPU run. AI-assisted (Claude Code).
Author
Owner

@⁠MoonEyes on GitHub · 2026-11-30 13:54 UTC · original

Merging. Head c3f63575a merges cleanly with main ac0e33f78 and does not force a rebase of #2566. Red/green from OreoFR's Mac and redone by me on Windows 11 (above, another owner). Its CI is green; it takes over the original pull request with its author's commits kept. main's Runtime workflow is red for a known reason (macos, ps_exp_f32_denorm_rt); merging green pull requests meanwhile is agreed with aslan2142. Merged by MoonEyes.

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-11-30 13:54 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2718#issuecomment-7280536368) Merging. Head `c3f63575a` merges cleanly with `main` `ac0e33f78` and does not force a rebase of #2566. Red/green from OreoFR's Mac and redone by me on Windows 11 (above, another owner). Its CI is green; it takes over the original pull request with its author's commits kept. main's Runtime workflow is red for a known reason (macos, ps_exp_f32_denorm_rt); merging green pull requests meanwhile is agreed with aslan2142. Merged by MoonEyes. AI-assisted (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!2718
No description provided.