tests: split the compute store draw into two CTest entries #802

Merged
JB2WIN merged 1 commit from upstream-pr/808 into main 2026-11-23 06:49:11 +00:00
JB2WIN commented 2026-11-23 06:29:22 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JB2WIN on 2026-11-23T06:29:22Z.


Change

compute_store_aot_hardware hit its 45 s timeout on an RTX 3080. It took 35.2 s at 37ed46d and about 57 s now, because the guard and read cases from d8840b5, 72c7ae5 and 2019751 were added to the same draw (#448).

tests/compute_store_check.py draw now runs only CASES. A new mode, draw-guard-read, runs GUARD_CASES + READ_CASES through the same draw() loop. It has its own CTest entries, compute_store_aot_guard_read_{hardware,warp}, with TIMEOUT 45; the hardware entry also has SKIP 77. No case, expected byte or per-case mismatch control changes; the two entries together run exactly the previous set. The existing filter -R '^compute_store_aot_' from docs/experiments.md matches both entries.

Refs #448. AI-assisted (Claude Code).

Verification

Windows 11 10.0.26200.9974, NVIDIA GeForce RTX 3080 (driver 32.0.16.2124) and WARP, at 186711d.

ctest --preset dev --no-tests=error -R '^compute_store_aot_': 4/4 passed.

Entry Time
compute_store_aot_hardware 35.6 s
compute_store_aot_guard_read_hardware 22.8 s
compute_store_aot_warp 10.3 s
compute_store_aot_guard_read_warp 7.1 s

The full ctest --preset dev --no-tests=error -j4 passed 374/374, with bvh_wave64_hardware, bvh_wave64_warp and wave_shuffle_warp skipped. The controls, the LLVM 15 binary round trip and the pure Python checks pass.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6553685736 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/808). Originally posted by [JB2WIN](https://github.com/JB2WIN) on 2026-11-23T06:29:22Z. --- ## Change `compute_store_aot_hardware` hit its 45 s timeout on an RTX 3080. It took 35.2 s at `37ed46d` and about 57 s now, because the guard and read cases from `d8840b5`, `72c7ae5` and `2019751` were added to the same draw (#448). `tests/compute_store_check.py draw` now runs only `CASES`. A new mode, `draw-guard-read`, runs `GUARD_CASES + READ_CASES` through the same `draw()` loop. It has its own CTest entries, `compute_store_aot_guard_read_{hardware,warp}`, with TIMEOUT 45; the hardware entry also has SKIP 77. No case, expected byte or per-case mismatch control changes; the two entries together run exactly the previous set. The existing filter `-R '^compute_store_aot_'` from `docs/experiments.md` matches both entries. Refs #448. AI-assisted (Claude Code). ## Verification Windows 11 10.0.26200.9974, NVIDIA GeForce RTX 3080 (driver 32.0.16.2124) and WARP, at `186711d`. `ctest --preset dev --no-tests=error -R '^compute_store_aot_'`: 4/4 passed. | Entry | Time | |---|---| | `compute_store_aot_hardware` | 35.6 s | | `compute_store_aot_guard_read_hardware` | 22.8 s | | `compute_store_aot_warp` | 10.3 s | | `compute_store_aot_guard_read_warp` | 7.1 s | The full `ctest --preset dev --no-tests=error -j4` passed 374/374, with `bvh_wave64_hardware`, `bvh_wave64_warp` and `wave_shuffle_warp` skipped. The controls, the LLVM 15 binary round trip and the pure Python checks pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream-sync closed this pull request 2026-11-24 06:44:53 +00:00
MatyEjsr commented 2026-11-24 06:49:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by MatyEjsr on 2026-11-23T06:36:14Z.


Verdict: Approve (static & Python verification on head 56b428b9dcc21c02891f33564058a533e65cd657, compared against main ab5d3a5; pending green Windows CI).

Verification

Environment: Windows 11 x64, Python 3.12.10. Zero-GPU review (D3D12 WARP/hardware draw execution was not run locally; this review covers the Python test split, case partitioning, and CMake/CTest wiring).

Checks on 56b428b:

  • compute_store_check.controls(): passed (exit 0).
  • Verified exact case partitioning in tests/compute_store_check.py: draw (CASES: 12 cases) and draw-guard-read (GUARD_CASES + READ_CASES: 2 + 2 = 4 cases) partition the exact previous 16-case list (CASES + GUARD_CASES + READ_CASES) with identical names, order, and zero duplicates or omissions.
  • Audited all compute_store references across CMakeLists.txt, .github/workflows/windows.yml, README.md, AGENTS.md, and docs/experiments.md:
    • CMakeLists.txt registers compute_store_aot_guard_read_{hardware,warp} with matching TIMEOUT 45 and adds compute_store_aot_guard_read_hardware to SKIP_RETURN_CODE 77.
    • No form_coverage properties are attached to compute_store_aot_*, so splitting does not affect coverage recording.
    • The documented -R '^compute_store_aot_' filter in README.md and docs/experiments.md matches all four CTest entries (compute_store_aot_{hardware,warp} and compute_store_aot_guard_read_{hardware,warp}), and the single-entry quick command -R '^compute_store_aot_warp$' in README.md still runs the 12 core store cases.
  • python -B tests/docs_links_check.py (13 files, 154 links) and python -B tests/bidi_controls_check.py (654 files): both passed.
  • git merge-tree --write-tree main 56b428b: clean against ab5d3a5 (exit 0).

Note: Windows CI (Build and test on Windows and /O2) status at posting time: Build and test on Windows:IN_PROGRESS; Build and test on Windows at /O2:IN_PROGRESS.

AI-assisted review (local Python and static CMake/CTest checks executed locally).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7093492508 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/808#issuecomment-7093492508). Originally posted by [MatyEjsr](https://github.com/MatyEjsr) on 2026-11-23T06:36:14Z. --- **Verdict: Approve** (static & Python verification on head `56b428b9dcc21c02891f33564058a533e65cd657`, compared against `main` `ab5d3a5`; pending green Windows CI). ### Verification Environment: Windows 11 x64, Python 3.12.10. Zero-GPU review (D3D12 WARP/hardware draw execution was not run locally; this review covers the Python test split, case partitioning, and CMake/CTest wiring). Checks on `56b428b`: - `compute_store_check.controls()`: passed (exit 0). - Verified exact case partitioning in `tests/compute_store_check.py`: `draw` (`CASES`: 12 cases) and `draw-guard-read` (`GUARD_CASES + READ_CASES`: 2 + 2 = 4 cases) partition the exact previous 16-case list (`CASES + GUARD_CASES + READ_CASES`) with identical names, order, and zero duplicates or omissions. - Audited all `compute_store` references across `CMakeLists.txt`, `.github/workflows/windows.yml`, `README.md`, `AGENTS.md`, and `docs/experiments.md`: - `CMakeLists.txt` registers `compute_store_aot_guard_read_{hardware,warp}` with matching `TIMEOUT 45` and adds `compute_store_aot_guard_read_hardware` to `SKIP_RETURN_CODE 77`. - No `form_coverage` properties are attached to `compute_store_aot_*`, so splitting does not affect coverage recording. - The documented `-R '^compute_store_aot_'` filter in `README.md` and `docs/experiments.md` matches all four CTest entries (`compute_store_aot_{hardware,warp}` and `compute_store_aot_guard_read_{hardware,warp}`), and the single-entry quick command `-R '^compute_store_aot_warp$'` in `README.md` still runs the 12 core store cases. - `python -B tests/docs_links_check.py` (13 files, 154 links) and `python -B tests/bidi_controls_check.py` (654 files): both passed. - `git merge-tree --write-tree main 56b428b`: clean against `ab5d3a5` (exit 0). Note: Windows CI (Build and test on Windows and /O2) status at posting time: Build and test on Windows:IN_PROGRESS; Build and test on Windows at /O2:IN_PROGRESS. *AI-assisted review (local Python and static CMake/CTest checks executed locally).*
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
R0Y00/Xbox2Windows!802
No description provided.