Repository navigation
Conversation
Use two packed signed byte dots on scaled nibbles, then shift the sum back before adding the wrapping accumulator. Leave saturation on the wide-sum path. Independent synthetic runs cut mixed DXIL by 11–14% and dense DXIL by 27–31%, with no new suite failures on either adapter. Part of xcl-dev#1269. Assisted-by: T3 Code / Antigravity (gemini-4-neon) Assisted-by: T3 Code / OpenAI Codex (gpt-6.2-sol)
|
Independent Windows x64 + Intel Arc A770 test report on commit Environment
Command xcl-97fdf2b9ff8e1482.exe --exact --nocapture --test-threads=1 `
gpu::dxil::lower_wide::signed_dot8_tests::signed_dot8_emits_two_packed_signed_dots_only_for_unclamped `
gpu::dxil::lower_wide::signed_dot8_tests::signed_dot8_matches_wrapping_and_saturated_cpu_results_on_gpuResults
Not tested
AI use
|
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Independent RX 6800M check on exact head Environment: Windows 11 build 26200; Ryzen 9 5980HX; Radeon RX 6800M, driver Command: Result: 2 passed, 0 failed, 0 ignored, 0 Scope: This was a focused debug-build test. I did not run the full workspace suite, a paired main run, or a retail-title smoke test on this PR head. The test reports GPU parity for its fixed and generated lane inputs; it does not measure the PR's performance claim. AI use: OpenAI Codex ran the tests, checked the clean revision and log, and prepared this report. |
Part of #1269. Lower unclamped
V_DOT8_I32_I4with two signed packed byte dot operations. Put each nibble in the high bits of a byte, shift the exact sum back by eight bits and add the accumulator with 32-bit wrapping. Saturating dots keep the wide-sum path.What is in it
lower_wide.rsemits packed operations for signed four-bit dots and checks both emission and GPU results.ops.rsadds the shared DXIL call builder.If #2108 lands first, rebase this branch onto main and reuse the common packed-dot helper. Rerun the paired checks on the resulting head.
Tested
cargo build --release -p xcl.cargo test --workspace --no-fail-fast -- --test-threads=4 --nocapturecounts are passed / failed / ignored / internal skips. Cargo includes internal skips in the passed count.Regression run
main:
PR:
Not tested
AI use
gemini-4-neon, medium) implemented the change and tests and ran the first validation. T3 Code / OpenAI Codex (gpt-6.2-sol) reviewed the diff, independently ran the comparisons and prepared this draft.