Tests: skip half_precision_overloads_run without native 16-bit ops #1853
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1853
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1853/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@matheusfrta on GitHub · 2026-11-24 21:55 UTC · original
matheusfrta:patch-1795557342→main· +30 −2 · 1 files · 1 commits · merged 2026-11-25 02:04 UTCSkip the GPU execution step in
gpu::dxil::ops_tests::half_precision_overloads_runwhen the adapter does not reportNative16BitShaderOpsSupported(D3D12_FEATURE_D3D12_OPTIONS4), while keeping DXIL validation active.On NVIDIA GeForce GTX 1080 Ti (Pascal), the adapter supports SM 6.6 and wave32 so
wave32_supported()returns true, causingCreateComputePipelineStateto fail withE_INVALIDARG (0x80070057)on theNativeLowPrecisionkernel.What is in it
Native16BitShaderOpsSupportedbefore GPU dispatch incrates/xcl/src/gpu/dxil/ops_tests.rsTested
cargo test --workspace -- --test-threads=4: 959 passed, 0 failed, 43 ignored (SKIPPED GPU tests: 53 (validator 1.6 < 1.8 (validation step only)), 7 (no wave64), 5 (no mesh shaders), 1 (no native 16-bit ops), 1 (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), 1 (f16 arithmetic, wave64: no wave64), 1 (f32 arithmetic, wave64: no wave64), 1 (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), 1 (f16 packed, wave64: no wave64), 1 (f32 compares, wave64: no wave64), 1 (f64, wave64: no wave64), 1 (integer arithmetic, wave64: no wave64), 1 (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), 1 (f32 conversions, wave64: no wave64), 1 (f32 rounding, wave64: no wave64), 1 (integer carries, wave64: no wave64), 1 (f32 transcendentals, wave64: no wave64), 1 (f32 three-source, wave64: no wave64), 1 (no heap windows))Not tested
XCL_SAMPLE_*shader/data suites and retail titles (no game files on this machine)AI use
@eizispark on GitHub · 2026-11-24 22:24 UTC · original
Hardware test report — commit
62fcf07Verified
62fcf074d5b7160d09d20cdc17f873437b201cdf(clean merge withmain689f2db): pass.Tested
32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11 x64 (stable-x86_64-pc-windows-msvc,rustc 1.100.0 (0ef1bc386 2026-11-09)), debug tests + release smokecargo test --workspace --no-fail-fast -- --test-threads=4:959 passed, 0 failed, 43 ignored(8 skipped: 6gpu::recomp::lower_dxil::testsf16/V_CVT_F16_F32#1426-semantics sub-cases,shaders::tests::pso_measurement_compiles_an_exact_synthetic_record— Windows Developer Mode required (0x887A002D), andheap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows)cargo test -p xcl --lib gpu::dxil::ops_tests::half_precision_overloads_run -- --exact --nocapture:1 passed, 0 failed, 0 ignored, 0 skipped— executed on the GPU without skipping on RDNA4 (Native16BitShaderOpsSupported)console_wave64_compute_through_the_pso_hook_dispatch_and_read_backand both native RDNA4 wave64 GPU tests (gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware) passed cleanlyRegression run (
scripts/smoke.ps1, 60 s, warm shader/driver cache)main(4e3515eed124b9f4779f5ef4e2b54adf97da936a):PR (
62fcf074d5b7160d09d20cdc17f873437b201cdf):Not tested
Native16BitShaderOpsSupported(covered on GTX 1080 Ti in the PR description), Intel GPUs, Wine/vkd3d-proton, gameplay past the menusAI use
@DavidM1911 on GitHub · 2026-11-25 01:28 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!