descriptor: diagnostics build after the packed DynamicBits (13e1f5e): read a slot through first_taken #2
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/XaviFortes--VIctory-RDNA!2
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@HAL9000RELOADED on GitHub · 2026-11-27 10:30 UTC · original
HAL9000RELOADED:rdna/fix-diag-dynamicbits→main· +5 −1 · 1 files · 1 commits · merged 2026-11-27 10:52 UTCcargo check -p victory-gpu --features diagnosticsfails on main (8ba4f34):slot_story(diagnostics only) still calls.get(..)onhost.next.1, which has been the packedDynamicBitssince13e1f5e. This is the build note indocs/benchmarks/rtx5070-nvidia.md. The patch reads the slot through the existingfirst_taken(i, i + 1), withNonepastlenas before, so-Build diag/--profile diag --features diagnosticsbuilds again.On an RX 7900 XTX (RDNA3), driver 32.0.32015.7029, Windows 10 Pro 22H2 (19045), Rust 1.98.1 MSVC:
cargo check -p victory-gpu --features diagnostics: fails on8ba4f34, passes on this branch. Without the feature it passes on both.cargo test -p victory-gpu --lib --features diagnostics descriptoron this branch: 52 passed, 0 failed, 1 ignored.I used this patch for the diag builds of the runs in the RX 7900 XTX benchmark PR.
AI-assisted (Claude Code): tested on my machine, text drafted with Claude.
13e1f5e): read a slot through first_taken b424c8b93a@XaviFortes on GitHub · 2026-11-27 10:51 UTC · original
Thanks for catching this and sending a focused fix. I ran the descriptor tests locally with diagnostics enabled and got 52 passed, 1 ignored. The bounds check and reuse of first_taken look good to me. I’ll merge this.