Repository navigation
tests: run the six integer-format MRT cases in parallel - #2588
Conversation
|
I found one cross-format check that loses its follow-up on I have a small follow-up on your head. All six formats still run in parallel. The existing signedness draw runs in the populated format-42 session, swaps just the manifest, and verifies that the runtime restored the original VS, PS and root blobs byte-for-byte. It adds no compiler or device launches. I ran the same FXC/WARP CTest six times on Windows Server 2025, once for each fixture/runtime combination. With the normal runtime, serial, PR head and revised fixtures all passed (27.81 s, 21.51 s, 20.28 s, one run each). When the runtime skips republication on a compiled-base hit, the serial fixture fails with the missing original request, the unmodified PR fixture passes (21.03 s), and the revised fixture rejects the missing |
|
Thanks @RavenCurseBurg, good catch. I took your follow-up commit What changed: the signedness check now runs in the populated format-42 session, swaps only the manifest, and compares the republished VS/PS/root request blobs byte for byte. The six formats still run in parallel. Commands executed locally:
Win2025 WARP dev+release on AI-assisted; commands listed were executed locally. |
|
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
AI-assisted; commands listed were executed locally. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Part of #448
What this unblocks:
startup_mrt_{fxc,dxc}_{warp,hardware}(about 53 s each in dev on Win2025 WARP) run their six 32-bit integer formats side by side instead of one after another, so the longest MRT tests finish sooner.Changes
tests/startup_mrt_check.pyonly. The per-session helpers (draw,request,queue_request,compile_pair) move into asession(name)factory that owns a private cache, root file, output file and environment.ThreadPoolExecutor. The per-format assertions are unchanged, including the three-channel refusal and base-translation checks that ran under format 42.future.result(), so pass/fail and skip handling are unchanged.Overlap check
tests/startup_mrt_check.pyatfb2f86ac5.Verification
Linux only (Stage 1):
python3 -m py_compile tests/startup_mrt_check.py: OKcd tests && python3 -B -c "import startup_mrt_check": OKgit diff --check: cleanStage 2 to do on the exact head: Win2025 WARP dev + release,
-R startup_mrt_with the default 5-slot pool; compare seconds against main; one mutation (change an expected integer word) must still fail.