Expand bounded GPU compatibility coverage #83
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!83
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/83/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?
@bmjask on GitHub · 2026-11-23 02:01 UTC · original
bmjask:codex/gpu-compatibility→main· +36206 −109 · 36 files · 18 commits · closed without mergingSummary
Verification
Current boundary
The measured validation compatibility shell is corpus-complete. The explicit two-pass console dispatch route is now connected for translated pipelines with checked metadata, while ordinary translated compute dispatch remains unchanged. Broader production eligibility and title-specific dispatch derivation remain fail-closed where executable/runtime evidence is unavailable.
Notes
This is compatibility-layer work only. It contains no protected content, keys, package decryption, or title-specific data.
@certified-retart on GitHub · 2026-11-23 08:18 UTC · original
Tested head \
385442b5\ on a dual-GPU Windows 10 setup (NVIDIA RTX 5070 + AMD Radeon 9800X3D iGPU) with D3D12 Agility SDK 1.619.1 (#75) so SM 6.6 / wave64 GPU tests run live:NVIDIA RTX 5070 (\XCL_ADAPTER=0, wave32-only)
AMD Radeon(TM) Graphics (9800X3D Raphael RDNA2 iGPU, \XCL_ADAPTER=1, wave32..64)
@bmjask on GitHub · 2026-11-23 08:36 UTC · original
Confirmed against the current head: the reported NVIDIA
V_FRACT_F32(+inf)failure is the existingfract_fclamp behavior, not introduced by this PR. PR #68 contains the exact compare/select correction plus a dedicated live GPU edge-case regression, and is open and mergeable against current main. To avoid duplicating contributor-owned work (and pulling its unrelated barrier change into this branch), this PR should be tested after #68 or rebased once #68 lands.@bmjask on GitHub · 2026-11-23 08:37 UTC · original
Thanks for the cross-vendor run. The AMD section of the report appears truncated after “GPU device removal,” so there is not enough evidence yet to identify the failing test or removal reason. If reproducible, please add the first failing test name plus the D3D12 device-removed reason (and whether it also occurs on current main); bounded output is sufficient. That will let us separate a branch regression from an adapter/Agility baseline issue.
@certified-retart on GitHub · 2026-11-23 10:43 UTC · original
Sorry about the truncated earlier comment — PowerShell double-quoted backtick escaping ate the rest of it. Here are the full details on AMD Radeon(TM) Graphics (Ryzen 7 9800X3D iGPU, RDNA2, wave64) with Agility SDK v620 (
XCL_ADAPTER=1,--test-threads=1):1. Does it happen on current
main?No. On current
main(9284dcd), runningcargo test -p xcl --lib -- --test-threads=1on the exact same AMD Radeon iGPU + Agility SDK v620 gives:All failures and device removals below are specific to PR #83 (
bdfc8530, tested locally with the Agility SDK loader frommainmerged in so the iGPU exposes SM 6.6).2. First failing test & exact
GetDeviceRemovedReasonHRESULTThere are two distinct failure classes in
gpu::recomp::mesh_epoch_hlsl::tests:A. GPU device removals (
DXGI_ERROR_DEVICE_HUNG,0x887A0006) — 2 testsgpu::recomp::mesh_epoch_hlsl::tests::descriptor_xy_xyz_xyzw_indexed_forms_convert_and_commit_atomically(mesh_epoch_hlsl.rs:3849)gpu::recomp::mesh_epoch_hlsl::tests::formatted_vector_buffers_decode_convert_alias_and_commit_atomically_liveOn both tests, after
WaitForSingleObject:ID3D12Fence::GetCompletedValue()returns0xffffffffffffffff(u64::MAX)ID3D12Device::GetDeviceRemovedReason()returnsHRESULT(0x887A0006)(DXGI_ERROR_DEVICE_HUNG):Runner subtlety:
runner.rschecksif gpu.fence.GetCompletedValue() < gpu.value, which evaluates tofalsewhen D3D12 returnsu64::MAXon device removal. Without also checkingcompleted == u64::MAX/GetDeviceRemovedReason(),descriptor_xy_xyz_xyzw_indexed_forms_convert_and_commit_atomicallyappears to fail with a readback mismatch atmesh_epoch_hlsl.rs:3851(left: (1065353216, 1065353216), right: (1017159841, 1019265217)), and then the next test (f32_integer_converts_match_cpu_rounding_sdwa_and_wave64, which passes in isolation) and every subsequent GPU test fail inCreateComputePipelineStatewithDXGI_ERROR_DEVICE_REMOVED(0x887A0005).B. Non-TDR assertion mismatches (10 tests in
mesh_epoch_hlsl)Skipping only the 2 hanging tests above,
cargo test -p xcl --lib gpu::recomp::mesh_epoch_hlsl -- --test-threads=1finishes cleanly with 45 passed, 10 failed, 0 device removals:d16_image_load_packs_halves_and_commits_atomically— first failing test in alphabetical order, reproduces in isolation (mesh_epoch_hlsl.rs:3976: left: (0, 0), right: (2147499008, 97280))d16_image_sample_implicit_and_explicit_zero_lod_match— reproduces in isolation (mesh_epoch_hlsl.rs:4160: left: (1061158912, 0), right: (1061158912, 1061158912))float_math_family_matches_mature_domains_and_wave64— reproduces in isolation (mesh_epoch_hlsl.rs:2492: assertion failed: close(at(absolute_lane, 9), input.log2()))float_remainder_matches_cpu_ordering_edges_and_wave64(mesh_epoch_hlsl.rs:3124: assertion failed: same(at(absolute_lane, 5), a.ceil()))fma_mix_modes_match_cpu_fused_edges_and_wave64scalar_binary64_family_matches_cpu_pairs_aliases_and_wave64scalar_exec_transforms_match_cpu_masks_and_following_exec_wave64scalar_get_pc_uses_byte_next_pc_for_two_waves_and_pair_destinationsscalar_hardware_configuration_is_inert_in_bounded_shell_livetransformed_binary_and_scalar_compare_sources_match_wave64(wave 0 SGPR0 ballot at lane 8)(Side note: after the recent merges to
main, PR #83 also has merge conflicts incrates/xcl/src/gpu/recomp/pso.rs,crates/xcl/src/gpu/recomp/runner.rs, andcrates/xcl/src/hle/d3d12x/list_x.rs.)@bmjask on GitHub · 2026-11-23 12:10 UTC · original
The reviewed updates are now in replacement PR #112. GitHub automatically closed this PR when its stale conflicted head was replaced with a clean commit based on current
main, and it does not permit reopening a PR after that head-ref recreation. The discussion and AMD report here remain the basis for the follow-up in #112.Pull request closed