Repository navigation
Conversation
|
Tested The installed Windows SDK DXC (1.8.2502.11) took the private-heap path on Compile batch wall times overlapped on this workload: 365 and 372 ms on main, 371 and 368 ms with private heaps. This batch verifies the allocator path and output, and does not measure the contention seen on the larger cache fill.
Not tested Retail cache filling, driver pipeline warming, allocator fallback, and the full workspace suite. AI use Codex with GPT-6.2 Sol wrote the scratch fixture, ran the tests, and drafted the report. |
|
Test run of Tested
Review: Each compiler gets a serialized private heap ( Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
|
Tested on Windows 11 + NVIDIA GeForce RTX 3060 Ti (8 GB, wave32). Tested
Regression run ( main ( PR #688 ( Not tested: AI use: Antigravity ( |
|
Code/CI review only (not independently runtime-tested by me): clean merge with both checks green ( |
|
Measured on the newer retail title's own shader pack: filling the DXIL cache with all of its compute programs goes from under one busy core to about ten with this PR. Tested
Not tested
AI use: Claude Code (Claude Opus 5.5) ran the precompiles, sampled the CPU time and wrote this report. The runs were on the hardware above. |
|
Test report: Tested
It reports 26,503 shaders to go through, so a full fill here would take several hours. I didn't run one, or
Regression run (no presses, 60 s; the title folder is a neutrally named junction) main: PR merged onto main: Not tested
AI use: Claude Code (Claude Opus 5.5) ran the builds, the precompile comparison, the title and smoke runs and the thread-dump symbolisation, and wrote this report. |
|
Linux (Wine + vkd3d-proton) + NVIDIA test of Setup: Fedora 44 (kernel 7.2.9), Wine 11.21 Staging (Wayland driver), vkd3d-proton v3.1-90-g30b0eb9b with the relaxed-vtable patch from #175 and a local dxil-spirv patch, Tested
In run 1 with this change a compute pipeline of the preload was being built from 11 s to 62 s, across the start of the burst, and the burst was still at full speed. Why Read
Not tested: past 100 s; AI use: Claude Code (Claude Fable 5.2) read the diff, built the tree, ran the title six times with |
DXC workers otherwise contend on the process heap during parallel cache fills. Give each thread-local compiler a serialized private heap through DxcCreateInstance2, with a compatibility fallback, and add a read-only wrapper for filling the DXIL cache. Measured on this machine: 19.3-19.5 effective compiler cores with private heaps versus about 2.3 with the shared process heap. Part of ivall#156. Assisted-by: Codex (GPT-5)
0b82a3d to
760f742
Compare
|
Addressed the compatibility question in 760f742: any failed DxcCreateInstance2 private-allocator attempt now logs its HRESULT and falls back to DxcCreateInstance. The ordinary factory still supplies the final error if compiler creation is genuinely unavailable. Verified on Windows SDK DXC 1.9.2602.17 with cargo test -p xcl --lib private_heap_tests -- --test-threads=1 --nocapture (2 passed, 0 failed) and cargo check -p xcl --lib (passed; one pre-existing fetch_update deprecation warning). The fallback itself was not forced on this DXC build. |
|
@bmjask
} else if hr.0 == crate::util::E_INVALIDARG {
…
p = std::ptr::null_mut();
} else {
return Err(format!("DxcCreateInstance2: {hr:?}"));
}The numbers in my comment above therefore hold for AI use: Claude Code (Claude Fable 5.2) compared the two commits and wrote this. |
|
The offline pass under Wine, which our first report left as not tested: Setup: Fedora 44 (kernel 7.2.9), Wine 11.21 Staging, Ryzen 9 9950X3D, 64 GB RAM. No GPU is used. Release, cross-compiled to
The machine was shared. Beside pass 4 of Not tested: AI use: Claude Code (Claude Fable 5.2) ran the passes and wrote this report. Posted without review by a person: the account owner was away and reads replies later. |
Empirical test report (760f742)Hardware / environment
Commands and results
Observed behavior
Not tested Full GPU workspace suite, whole-pack AOT runs, game smoke runs, direct execution of the new PowerShell wrapper, and fallback with older DXC builds. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr688-focused.log and published. |
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
Part of #156. Parallel DXC workers currently contend on the process heap during large cache fills. This gives each thread-local compiler a serialized private heap through
DxcCreateInstance2, falls back for incompatible DXC builds, and adds a read-only PowerShell wrapper for filling XCL's reusable DXIL cache ahead of a run.What is in it
crates/xcl/src/gpu/recomp/dxc.rs: privateIMallocheap per compiler, compatibility fallback, and allocator/concurrency testsscripts/precompile-shaders.ps1: validated wrapper for read-only RPF9 AOT cache filling and optional compute-pipeline warmingREADME.md: generic AOT usageTested
cargo test -p xcl --lib private_heap_tests -- --test-threads=1 --nocapture: 2 passed, 0 failed, 0 ignoredcargo check -p xcl --lib: passedscripts/precompile-shaders.ps1 -Package <readable RPF9> -PlanOnly: passed; bounded-Limit 500 -DxcThreads 4 -NoBuildinvocation completed successfullyscripts/test.ps1: 694 passed, 0 failed, 41 ignored; 2 GPU tests skipped (no wave64)cargo build --release -p xcl: passedRegression run
Upstream
main:This PR:
Not tested
-Pipelinesdriver-cache warmingAI use