The structured buffer-view test can fail on a valid element boundary #174
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-28T17:40:06Z.
On unmodified v26.11.6, the Windows GPU suite failed at
descriptor/host.rs:5901in both a default-concurrency run and a single-threaded run. The assertion expected a dedicated 2,048-byte buffer and got the normal 4 MiB backing window.The fixture starts on a 4 KiB page and adds eight bytes. When that page begins 4,096 bytes into the backing window, the view starts at 4,104 bytes, exactly nine 456-byte elements. Reusing the ordinary window is then correct. Eighteen of the 1,024 page positions in a 4 MiB window have this alignment.
I forced that page placement in Windows CI. The release test failed with
4194304 != 2048. Moving only the structured fixture to four bytes into its page makes it misaligned to both 16 and 456 at every page position. The corrected test passed in 12 fresh processes at the original failing placement.One-line test fix · Deterministic before/after Windows run
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-29T00:40:32Z.
thanks, good catch on the element boundary. taking it into the next build with credit, I'll ping here when it's out