mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-23 08:59:28 -10:00
A CPU mapping of the GPU's BARs in a client process is a store path the driver cannot route through the kernel: a store through it to an unplugged GPU panics the Mac. The driver now logs each one it hands out, Linux-file mappings (VRAM-resident buffers, KFD doorbell and MMIO pages) and raw BAR leases, with the client ID its open is logged under, to measure which clients map what before deciding what to change in the client ABI. vk-copy-bench --alloc times allocating, mapping, touching and freeing host-memory buffers, for the cost of the page-table writes behind them.