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

Merged
OreoFR merged 3 commits from upstream-pr/2718 into main 2026-11-30 13:54:13 +00:00
OreoFR commented 2026-11-30 13:24:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:24:18Z.


Carries #1726 by @TanmaySatyam, because it conflicts with main after #2566 and the reminder to merge main (https://github.com/ProjectLeonida/mandy/pull/1726#issuecomment-7253185200) 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://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; 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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5566145169 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2718). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-30T13:24:18Z. --- Carries #1726 by @TanmaySatyam, because it conflicts with `main` after #2566 and the reminder to merge `main` (https://github.com/ProjectLeonida/mandy/pull/1726#issuecomment-7253185200) 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://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; 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)
OreoFR commented 2026-11-30 13:32:48 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:32:48Z.


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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7280000377 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2718#issuecomment-7280000377). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-30T13:32:48Z. --- 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
MoonEyes commented 2026-11-30 13:53:26 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T13:53:26Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7280518600 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2718#issuecomment-7280518600). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T13:53:26Z. --- 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 commented 2026-11-30 13:54:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T13:54:10Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7280536368 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2718#issuecomment-7280536368). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T13:54:10Z. --- 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).
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
ProjectLeonida/mandy!2718
No description provided.