Repository navigation
Classify D24 depth readback NaNs before floating-point rounding - #1247
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Merged
Conversation
Intel UHD 770 reports maximum depth for NaNs in the float comparison path. Check the input encoding before rounding finite values and exercise both signs of every NaN payload on the GPU.
Contributor
|
Confirmed on the machine from the original report. Tested 23962cb on Windows 11 with two GPUs on one machine (runtime built from this PR's head, MSVC 14.51):
Thanks for picking it up. |
1 of 2 tasks
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.
Claimed in the coordination issue as: #1218 (comment)
What and why
On Intel UHD 770 driver 32.0.101.6129, the existing compute readback test returned maximum D24 depth for NaN inputs, including 0x7fc00000. See the original reproduction.
Read the 32-bit input encoding before doing any floating-point comparisons. Unsigned encodings above positive infinity cover every negative input and every positive NaN. The remaining encodings at or above 1.0 saturate. The rounding path for finite depths in [0, 1) stays the same.
Tested
Checklist
AI-assisted implementation and testing.