Skip to content

[upstream #1100] Recompiler tests: compare FMA modifiers against Scarlett Layer - #58

Closed
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1100
Closed

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1100

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 24, 2026

Copy link
Copy Markdown
Owner

PortBridge connected Scarlett Layer's synthetic case 02 with XCL's FMA tests. This test checks all 64 inputs with abs, neg and clamp together, plus a plain FMA control. PortBridge tracks both projects.

What is in it

  • One GPU test in crates/xcl/src/gpu/recomp/tests.rs using XCL's test harness and GPU availability checks. The test credits the original Scarlett Layer case.

Tested

  • RTX 4070 Ti SUPER (617.14), Intel i5-13600KF, Windows 11 Pro build 28000, Rust 1.100.0 gnullvm, DXC 1.9.2602.17, debug. Tested base 47efa2e with the diff from this PR.
  • cargo test -p xcl --lib gpu_fma_f32_abs_neg_clamp_oracle -- --nocapture: 1 passed. All 64 modified results and 64 plain controls matched within 1e-5 in each of Wave32 and split Wave64.
  • cargo build --offline --locked --workspace and cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4: 742 passed, 0 failed, 41 ignored. Two of the reported passes logged SKIPPED because native Wave64 was unavailable: gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware. Sample variables were unset.
  • A nonmatching adapter triggered the normal GPU skip path for the added test.

Not tested

AI use

  • Codex (GPT-6 family) prepared the test and ran the local checks.

Mirror of xcl-dev#1100 (auto-synced, do not edit).

Use Scarlett Layer's public case 02 as an input reference for XCL's synthetic regression harness. Check modified and unmodified results across all 64 inputs in native or split waves.
@ufoptg

ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Upstream PR xcl-dev#1100 was closed or merged.

@ufoptg ufoptg closed this Nov 25, 2026
@ufoptg
ufoptg deleted the upstream-pr/1100 branch November 25, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants