Repository navigation
Conversation
…e GPU Add GPU coverage for ENC_VOP3P mixed-precision FMA ops (`v_fma_mix_f32`, `v_fma_mixlo_f16`, `v_fma_mixhi_f16`) against a pure-Rust reference in both wave64 and wave32, exercising `OP_SEL_HI`, `OP_SEL_HI_2`, `OP_SEL`, `NEG_HI` (abs), `NEG`, `CLAMP`, SGPR `SRC2`, untouched 16-bit half preservation, chained `mixlo` + `mixhi` writes to one VDST, and dynamic `S_ROUND_MODE` RNE/RTZ rounding on `v_fma_mixhi_f16`. Assisted-by: Google Antigravity (Gemini 4 Neon)
Owner
Author
|
Upstream PR xcl-dev#1122 was closed or merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GPU test coverage for
v_fma_mix_f32,v_fma_mixlo_f16, andv_fma_mixhi_f16(ENC_VOP3P) against a pure-Rust reference in bothwave64andwave32.What is in it
crates/xcl/src/gpu/recomp/tests.rs: addgpu_fma_mix_f32_and_f16coveringOP_SEL_HI/OP_SEL_HI_2/OP_SEL,NEG_HI(abs),NEG,CLAMP, SGPRSRC2, untouched 16-bit half preservation, chainedmixlo+mixhiinto oneVDST, and dynamicS_ROUND_MODERNE/RTZ rounding onv_fma_mixhi_f16.Tested
32.0.32029.2010), AMD Ryzen 5 7500F, Windows 11 Pro 10.0.26300,rustc 1.100.0(stable-x86_64-pc-windows-msvc), DXC1.9.2602.17, debug buildcargo test -p xcl --lib -- gpu_fma_mix_f32_and_f16 --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored (0 SKIPPED)cargo test --workspace -- --test-threads=4: 742 passed, 0 failed, 41 ignored (xcl --lib: 699 passed, 0 failed, 21 ignored;SKIPPEDGPU tests: 0)Not tested
scripts/smoke.ps1; tests-only change)AI use
Mirror of xcl-dev#1122 (auto-synced, do not edit).