Skip to content

test(hw-oracle): pin the v_cvt_u32_f32 rows - #331

Open
Nawid3333 wants to merge 1 commit into
simnJS:AnyKytyfrom
Nawid3333:test/hw-oracle-cvt-u32-rows
Open

Nawid3333 wants to merge 1 commit into
simnJS:AnyKytyfrom
Nawid3333:test/hw-oracle-cvt-u32-rows

Conversation

@Nawid3333

Copy link
Copy Markdown

Refs #217.

Pins seven v_cvt_u32_f32 limits in kyty_shim_hw_oracle_rows, beside the v_cvt_i32_f32 rows that came in with the Kyty runner (#244). GitHub cannot compare my old fork with this repository any more, so this PR comes from a fork of this repository, as asked in #217 (comment).

Input Result
NaN 0
-inf 0
-1 0
-0.5 0
+inf 0xffffffff
2^32 0xffffffff
1.5 1

The values are what the Ryzen 7600X iGPU (gfx1036) gives through HIP, in the same modes as the i32 rows (FLOAT_MODE 0xc0, IEEE 0, DX10 clamp 1). They are RDNA2 desktop measurements, not PS5 ones. The check now takes a probe's body and rows as parameters, so both conversions go through the same code, at every wave size the device can run.

The commit was first checked at 7de61e3: kyty_shim_hw_oracle_rows passed on lavapipe, the RX 9070 XT and the iGPU with the validation layer on and no VUID messages, and with the expected value of 1.5 changed to 2 it failed on lavapipe. On lavapipe the test runs the probes at wave64 only, because its subgroups hold 8 lanes and the recompiler refuses a wave32 program there. It is cherry-picked unchanged onto the current head 688dbf1 and has not been rebuilt locally at that head, so the CI run on this PR is the first check there.

🤖 Generated with Claude Code

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>
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.

1 participant