Files
reims-vgpu/docs
Anees Iqbal b406d180c5 🆕 Offer MANAGED_AT_COPY on a unified GPU of the rt platform
What changes for the guest: on a host whose GPU shares the CPU's memory, on
metal2vulkan-rt's platform, with the Shared pool, the device offers feature
bit 63. A guest that takes it makes each Managed buffer at its CPU copy's
GPU address, so the gpuAddress its argument buffers and pointers hold is the
buffer's bytes, and it takes no Private block for it. Before, the guest held
its own pick in a Private block, rt made the buffer at the copy's address
instead, and a kernel reaching the buffer through its gpuAddress read the
Private block; each pick also held a Private take (1308 such picks and four
256 MiB Private blocks on a 780M desktop walk).

Where the guest took the bit and the platform does not make the buffer at
the copy's address (a copy in no block it knows), the host refuses the
create, as Metal answers nil, counted managed-at-copy-refused; it never
makes the buffer at an address of its own. A GPU of its own memory keeps two
copies, the Vulkan platform pins each buffer at the guest's pick, and a
device with no pool keeps the slabs' copies in region heaps: none offers
the bit, and their guests see no change.
2026-11-19 15:43:47 -08:00
..