Repository navigation
tests: run six descriptor load format launches at once - #2568
Conversation
|
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. |
|
I ran a paired four/six-worker comparison on Windows 11 26100.9711 with 24 logical CPUs and WARP 10.0.26100.9711. The two worktrees were the merge base
I ran one warm-up for each configuration, then measured in order 4/6, 6/4, 4/6. Six workers reduced the local median by 4.261 s (16.1%). All eight runs exited 0 with byte-identical stdout, including the seven dispatches, 14 wrong references and 11 shader mutations. The only stderr difference was the temporary directory in DXC's diagnostic for mutated source 31. These timings are for the WARP test in isolation on this machine. |
|
@RavenCurseBurg thanks for the paired run. Six workers gave a 16.1% lower median (26.529 s -> 22.268 s) with byte-identical output, which matches the speed-up this PR targets. No code change needed; head stays AI-assisted; commands listed were executed locally. |
Part of #448
What this unblocks: a shorter
compute_store_aot_descriptor_load_format_warp, so Win2025 slots free up sooner.Change:
tests/compute_load_format_check.py drawalready runs its dispatches and mutated-source compiles on a thread pool (4 workers). This raises the pool to 6 (a named constant,LAUNCH_THREADS). No check is added, removed or weakened; every case still checks the same message in the same order.Before/after on Win2025 (Build 26100, MSVC 14.44.35207, D3D12 WARP, 11 vCPU slot,
--preset dev), head74a4e5e4487b6a097d9ce1e4c128c0328150c922. Same test,LAUNCH_THREADS = 4("before") against= 6("after"), three runs each on the shared VM:That is about 27% lower at the median. The 4-worker run of 27.20 s ran at a quiet moment; the VM is shared, so single runs are noisy. An independent paired run on Windows 11 (comment above) also measured a 16% lower median (26.5 s -> 22.3 s). Both runs pass the same cases.
Verification (Win2025, exact head
74a4e5e4487b6a097d9ce1e4c128c0328150c922):cmake --build --preset dev -- -j 2-> nothing to build (test-only Python change; 0.00 s)ctest --preset dev -R 'compute_store_aot_descriptor_load_format|compute_load_format' --parallel 2 --no-tests=error --output-on-failure-> 3/3 passed (38.18 s)cmake --build --preset release -- -j 2-> nothing to build (0.00 s)ctest --preset release -R 'compute_store_aot_descriptor_load_format|compute_load_format' --parallel 2 --no-tests=error --output-on-failure-> 3/3 passed (33.53 s)python3 tests/compute_heap_view_check.pyandpython3 tests/compute_load_format_check.py-> okpython3 -B tests/compute_load_format_check.py controls-> exit 0;git diff --check-> cleanAI-assisted; commands listed were executed locally.