runtime: test every graphics memory type at the granularity boundary #365
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!365
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/365/head"
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?
@grahamster2 on GitHub · 2026-11-21 23:28 UTC · original
grahamster2:runtime/era-heap-graphics-types→main· +73 −1 · 3 files · 1 commits · merged 2026-11-22 02:38 UTCAdvances the README "Windows runtime" row: a source-built allocation case with a measurable Windows result.
What
New
era_heap_graphics_typesscenario. Graphics memory types 1–6 × page sizes 4 KB/64 KB × alignment exponents 0/4/8/16 × sizes 1 and granularity+1. Each block must start on the allocation granularity, be zeroed and writable, and be reported byVirtualQueryas the base of its own committed private read/write allocation; afterrelease_with_attributesit must beMEM_FREE. Negative controls per type: 4 MB pages, exponent 17 and page size 3 return null. Exponent 16 checks the 64 KiB boundary itself.Before this, only type 5 (the AMD word) had a positive graphics test.
Evidence
Commit:
bab6fdb, Windows 11 Pro build 26200, VS Build Tools 2026 18.3 (MSVC 19.50.35725), Windows SDK 10.0.26100.Full suite at the same commit (excluding the three
tests/intakecases): 144 run, 0 failed, 3 capability skips (bvh_wave64_hardwareon RTX 3080 lane range 32..32;bvh_wave64_warpandwave_shuffle_warpon WARP lane range 4..4).Mutation checks on
src/era_heap.cpp(reverted, not part of this PR):>→>=at the granularity comparison:era_heap_graphics_typesfails (type 1, exponent 16 refused);era_heap_observed_wordsalso fails.graphics_last6 → 5: onlyera_heap_graphics_typesfails (type 6 refused).Scope
Desktop policy only. The console semantics of the graphics types stay open in #126.
🤖 Generated with Claude Code
AI-assisted (Claude Code).