Repository navigation
shaders: benchmark direct DXIL PSO compilation - #1802
mokkamokacaffe wants to merge 1 commit into
Conversation
|
Independent Windows/NVIDIA validation of exact head Setup and checks
Measured cache behaviour xcl shaders <pack> --measure-pso 1404420b38db8597 --backend direct --windows 4 --split 1 --repeat 3 --json
xcl shaders <pack> --measure-pso 1404420b38db8597 --backend hlsl --windows 4 --split 1 --repeat 3 --json
Three further fresh processes, direct backend, identical command except Microsoft documents Regression run main: PR: Not tested AI use Follow-up: a per-application NVIDIA cache-off control works here Same head, adapter, driver, DXC, record, four windows and split wave64. An experimental call to A local
The copied exe without the temporary profile, same record and The wrapper and docs are a separate uncommitted local patch on this head, 186 added lines, not changes to your branch. Four profile-lifetime checks passed under both Windows PowerShell 5.1 and PowerShell 7. The real missing-record failure also removed its profile and exe; an independent NVAPI query confirmed all six wrapper-created profiles were absent afterwards. Windows PowerShell 5.1 also completed a real HLSL measurement successfully. Full workspace suite rerun on the local tree: 891 passed, 0 failed, 42 ignored, same three explicit skips listed above. No runtime Rust source changes, shared cache deletion, or changes to other application/global profiles. The wrapper is not committed or published as a PR yet. |
|
Regression run for this PR: head main this PR: No device removals or crashes; 101 % of main's frames, 99 % of its peak commit. Not tested: the whole suite; the new Written with Claude Code (Claude Opus 5.5) from runs on this machine. |
|
Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head Tested
Not tested
AI use
|
ca9deb7 to
4edddca
Compare
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
XCL PR #1802 — Windows / Arc A770 verificationClean detached head Tested
Workspace failures and skips Of 24 GPU library failures, 20 returned Not tested Successful benchmark JSON, PSO timing, cold compilation, a matched AI use T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
4edddca to
3eaf978
Compare
Part of #1269.
Extends the exact-record PSO benchmark to compare the HLSL/DXC and Direct-DXIL routes. D3D12 cache disabling is requested for every measured call, but the output explicitly does not claim that a driver performed a cold compile.
What is in it
--measure-pso ... --backend hlsl|directfor one exact console compute record.cache_disable_requested: trueandcold_compile_verified: false; document that D3D12 cache control is a driver hint and a fast repeat is not proof of a cold compile.Tested
7d14d49:cargo build --release -p xclpassed;cargo test --workspace -- --test-threads=4reported 891 passed, 0 failed, 42 ignored. Exact-record Direct-DXIL translation and validation translated one CS with zero unsupported programs, validator failures, panics or timeouts.1404420b38db8597(CS_PedStandardSkinning_3). Direct produced 264,408-byte DXIL; HLSL produced 395,152-byte DXIL. Without vendor cache control, repeat times collapsed to milliseconds despite D3D12 accepting the cache-disable request.main:cargo test -p xcl --libpassed with 0 failures and approximately 23 ignored tests.4edddca: workspace build and--no-runpassed; argument validation passed. Cache control returned0x887A002D, so successful benchmark JSON/timing was not covered. Its broader GPU suite had failures without a matchedmainrun, so no regression attribution was made.git diff --check: passed on current head3eaf978.Regression run
The following paired NVIDIA smoke runs are valid historical evidence for predecessor
7d14d49and its base4178e88. They check startup/menu stability, not the selected shader's runtime output or world rendering. They do not satisfy the repository's exact-head requirement after the rebase to3eaf9780ce94776a8421a1c27afd14e8b093c581.main:
PR:
A second paired predecessor run on an RTX 3060 also completed without crashes or device removals: 1,474 frames / 24,902 MB on main and 1,493 frames / 24,601 MB on the PR.
Exact-head pair still required:
main: pending against current
main(the rebased commit's parent is6987e496c35653f9ccc9dbdc1f1d342734306811).PR: pending for
3eaf9780ce94776a8421a1c27afd14e8b093c581.Not tested
3eaf978.AI use