Repository navigation
Conversation
…OST_ADAPTER is unset The native half took the first hardware adapter with tiled resources tier 2. On a laptop with an RTX 5080 (NVIDIA 621.14) and an Intel iGPU that is the iGPU, whose native run reads zeros from all 16384 words of snapshot 1, so the test failed at line 194 although the layer and the NVIDIA host driver agree. Unset now means the adapter behind the layer's device (GetAdapterLuid), as host_adapter.h already rules for the other host comparisons; the old loop remains the fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 2026
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.
Item: new, claimed in #6089 (
d3d12_buffer_tileson a two-GPU PC).What
d3d12_buffer_tilescompared the layer with the first hardware adapter that has tiled resources tier 2. On a laptop with an RTX 5080 and an Intel iGPU, that adapter is the iGPU, and its native D3D12 run reads zeros, so the test failed although the layer was right:With
LEONIDA_HOST_ADAPTERunset,native_device()now first tries the adapter behind the layer's device (GetAdapterLuid()), the ruleruntime/test/host_adapter.halready sets for the other host comparisons. The old loop stays as the fallback, and a named adapter orwarpworks as before. The tier check moved into a smalltiled_device()helper shared by both paths. Test-only change.Tested
NVIDIA GeForce RTX 5080 Laptop GPU, driver 621.14, plus Intel(R) Graphics; Windows 11 (build 26300); MSVC 14.44, RelWithDebInfo;
d3d12_buffer_tiles_teston this branch rebased on currentmain:LEONIDA_HOST_ADAPTERmainat 3faac55)warpNVIDIAIntelNot tested: a PC where the layer's adapter has no D3D12 device (that takes the fallback loop, unchanged).
AI-assisted (Claude).
🤖 Generated with Claude Code