Repository navigation
test(hw-oracle): pin the v_cvt_u32_f32 rows - #331
Merged
Merged
Conversation
Pin the v_cvt_u32_f32 limits beside the v_cvt_i32_f32 ones: NaN, both infinities, -1, -0.5, 2^32 and 1.5, with the values the 7600X iGPU (gfx1036) gives through HIP. Both probes run through one check with the PS5 float mode at every wave size the device can run, so the f32 to 32-bit integer conversions are covered in both signednesses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simnJS
previously requested changes
Nov 26, 2026
simnJS
approved these changes
Nov 26, 2026
simnJS
left a comment
Owner
There was a problem hiding this comment.
The completed template and replacement CI pass for this head. The desktop RDNA2 measurement and changed-expected-value check are documented in Tested.
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.
What
Pins seven
v_cvt_u32_f32limits inkyty_shim_hw_oracle_rows, beside thev_cvt_i32_f32rows that came in with the Kyty runner (#244). One test file changes,KytyShim/tests/HwOracle.cpp: the check takes a probe's body and rows as parameters, so both conversions go through the same check.00000xffffffff0xffffffff1The values are what the Ryzen 7600X iGPU (gfx1036) gives through HIP, in the same modes as the i32 rows (
FLOAT_MODE0xc0, IEEE 0, DX10 clamp 1). They are RDNA2 desktop measurements, not PS5 ones. This is the second acceptance point of #217, as agreed in #217 (comment); GitHub cannot compare my old fork with this repository any more, so the PR comes from a fork of this repository.Tested
Shim GPU tests on lavapipe,Linux kyty,Linux asan,Linux tsan,Windows kytyandlibrary-portabilitypass. On lavapipe the probes run at wave64 only, because its subgroups hold 8 lanes and the recompiler refuses a wave32 program there.kyty_shim_hw_oracle_rowspasses on the RX 9070 XT, on the Ryzen 7600X iGPU and on lavapipe (Mesa 26.2.6, LLVM 23.1.4), with the validation layer on and no VUID messages. With the expected value of 1.5 changed to 2 it fails on lavapipe, so the new rows are checked. The AMD driver build was not recorded.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code