Files
reims-vgpu/docs
Anees Iqbal baf08a4d11 🐛 Give an x86-64 guest's device info its threadgroup memory limit
The device info's max_compute_threadgroup_memory slot carried the
platform's 65536 bytes, Metal's on the M3 Max, on every host, while the
runtime refuses a kernel's threadgroup memory past
maxThreadgroupMemoryLength, which the device answers as rt's told limit
(32,752 or 32,768 bytes). Both x86 Macs answer the two alike, 65536 and
65536 (AMD Radeon Pro 5300M and Intel UHD 630, macOS 26.7.1, oracle_caps,
potluck jobs m3-max-79873 and 79874), so an x86-64 guest's framework may
size a kernel by either.

For an x86-64 guest the slot now holds the device's
maxThreadgroupMemoryLength; an arm64 guest's keeps the platform's 65536,
the M3 Max's pair. No guest reads the slot yet: the guest's
maxComputeThreadgroupMemory is still its Metal base's 65536, until the
bundle answers it from the slot.
compute_threadgroup_memory_follows_the_guest holds the new slot; no test
held the old one.
2026-12-02 13:14:23 -08:00
..