Repository navigation
Conversation
Compute rotate and FFT source lanes with arithmetic on the low five bits. This preserves the wave64 half and removes the 32-entry select chain. Four paired release runs on synthetic rotate, FFT and mixed kernels cut DXIL size by 30-41% and median translation time by 36-42%. The RTX 5080 and integrated Radeon suites repeated the baseline fuzz diagnostics. 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::core_tests::ds_swizzle_rotate_and_fft_emit_compact_dxil `
gpu::dxil::core_tests::gpu_direct_ds_swizzle_rotate_fft_matches_oracleResults
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: Focused debug-build tests only. I did not run the full workspace suite, paired main tests, a title smoke comparison, or the synthetic translation benchmark on this PR head. AI use: OpenAI Codex ran the tests, inspected the test branches and clean revision, checked the log, and prepared this report. |
Part of #1269. Direct DXIL now computes the source lanes for rotate and FFT
DS_SWIZZLE_B32with bit operations and lane arithmetic. The emitted shaders are smaller and take less time to translate in the synthetic benchmark.What is in it
lower_mem.rscomputes rotate source lanes and uses bit reversal for FFT. The calculation preserves each wave64 half.core_tests.rschecks emitted DXIL and compares GPU output lane by lane with the CPU oracle.Tested
cargo test --release -p xcl --lib gpu::dxil::swizzle_bench_tmp::swizzle_synthetic_bench -- --nocapture --exact --test-threads=1used four runs and 50 samples per shape per run. Byte size fell 30.22–40.85% and median translation time fell 35.70–42.35% across rotate, FFT and mixed shapes. The bit/quad control emitted the same number of bytes and selects.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 paired validation and prepared this draft.