Repository navigation
Conversation
Use the native DXIL dot4AddPacked operation for wrapping signed and unsigned products, including the tied accumulator. Keep the existing wide sum for saturating forms. Synthetic mixed kernels emitted 34.86-39.12% less DXIL. Part of xcl-dev#1269. Assisted-by: T3 Code / OpenAI Codex (gpt-6.2-sol)
|
NVIDIA RTX 3070 on native Windows, head Tested
Regression run ( PR head That is 102 % of Not tested
AI use
|
|
Tested PR #2108 was open at STOR-WINLAB ran Windows 11 Enterprise Evaluation 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust and Cargo 1.100.0 MSVC x64, and DXC/DXIL 1.9.2609.5. The unoptimized build used two Cargo jobs with incremental compilation and debug info disabled.
Build and both fixtures exited Not tested Other fixtures and adapters, the workspace suite, retail smoke, negative controls, and release timing. AI use T3 Code / Codex ( |
|
A run with vkd3d-proton as the host D3D12. The DXIL goes through dxil-spirv and then the NVIDIA Vulkan driver, not the native-Windows path: this PR's 2 new tests pass, none skipped. Tested
Not tested
AI use
|
|
RX 6800M check on exact PR head Tested: Windows 11 build 26200, Ryzen 9 5980HX, AMD Radeon RX 6800M (RDNA2), driver
I did not measure output values because the pipeline was never created. I did not test another driver or adapter, a full workspace suite on this head, or a retail title. The temporary control was not pushed or proposed as a fix. AI use: OpenAI Codex (GPT-6, exact variant not exposed in this session) ran the tests, prepared the isolated old-lowering control, reviewed the diff, and drafted this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Part of #1269. Emit DXIL
dot4AddPackedfor the three RDNA2 8-bit dot forms with wrapping accumulation. The saturating forms retain the wide sum clamped to the destination range.What is in it
crates/xcl/src/gpu/dxil/lower_wide.rsandops.rsemit the packed intrinsic. Tests check its call counts in normal and compact DXIL, along with wrapping, saturation and the tied accumulator on GPU.Tested
cargo build --workspacesucceeded on main and the candidate. The exact patch tested was committed as42ba73188bdb60afd222270c51187abe8fbef598and rebuilt from that clean head.cargo test -p xcl --lib packed_dot8_ -- --nocapture --test-threads=1passed both new tests on each GPU with 0 failed, ignored or internally skipped. The emission test fails on main with the new tests applied. The existinggpu_packed_math_dots_movreltest also passed on each GPU with direct DXIL enabled.cargo test --workspace --no-fail-fast -- --test-threads=4 --nocaptureon RTX gave 1152 passed, 4 failed, 46 ignored and 27 internal skips. Integrated Radeon gave 1155 passed, 1 failed, 46 ignored and 10 internal skips. Main gave 1150/4/46 on RTX and 1153/1/46 on Radeon, with the same skips and identical fuzz failures (RTX seeds 70, 545, 1019 and 1507, Radeon seed 540). Internal skips are included in Cargo's passed totals and excluded from coverage.cargo test -p xcl --lib --release packed_dot8_translation_diagnostic -- --nocapture --test-threads=1) passed in all eight runs. Across three synthetic 96-dot cases, emitted DXIL was 34.86–39.12% smaller and median translation time fell 37.47–40.07% (48 samples per case and tree).Regression run
Official
scripts/smoke.ps1, 60 s on RTX 5080 with direct DXIL enabled.Main
PR head
Not tested
AI use
gpt-6.2-sol) wrote the implementation and tests, ran validation and prepared this draft. T3 Code / OpenAI Codex (gpt-6.1-sol) independently reran the base and candidate GPU suites.