Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
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
A new
v_rcp_f32probe for the hw-oracle catalog. It covers +0.0 and -0.0, both infinities, a quiet NaN, the smallest normal (2^-126) and 2.0. No row has a denormal input or result, so it does not overlap with boykopovar#22309.Tested
python tools/hw-oracle/test_probe_catalog.py: OK.python tools/check_conventions.py --base upstream/main: passed.Measured the probe with
probe_catalog.py runon an AMD Radeon RX 6600 (gfx1032), AMD Windows driver 32.0.21045.16010, Windows 11, HIP runtime, and ran it through the shader recompiler on the same GPU withHW_ORACLE_RUNTIME=vulkanandagc_oracle_runnerbuilt frommainat 2d8f713.compare_results.pyreports 0 differing words.v-rcp-f32-specials:7f800000 ff800000 00000000 80000000 7fc12345 7e800000 3f000000The zeros give infinities of the same sign and the infinities give zeros of the same sign. The input NaN comes back unchanged. 2^-126 gives 2^126 (
7e800000) and 2.0 gives 0.5.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)Collaborated with Claude Code.
https://claude.ai/code/session_01AXa9xcGFXzjZYtnjkUUJM6
Summary by CodeRabbit