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
|
7d14d49 to
ca9deb7
Compare
ca9deb7 to
4edddca
Compare
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
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.main:cargo test -p xcl --libpassed with 0 failures and approximately 23 ignored tests.git diff --check: passed.Regression run
The available paired smoke runs are for predecessor
7d14d49, before the current output/documentation clarification and commit-identity rewrite. They were clean on RTX 5070 Ti and RTX 3060, but do not satisfy the exact-head check for current head4edddca04e9be3735b4082293f376a88add07e01.main:
Pending exact-head pair against a commit of current
main.PR:
Pending for
4edddca04e9be3735b4082293f376a88add07e01.Not tested
4edddca.AI use