Skip to content

mac_linuxgpu 0.1.161

Choose a tag to compare

@Geramy Geramy released this 07 Oct 03:40
· 22 commits to main since this release
  1. Kernel arguments in VRAM for programs that opt in. The HSA runtime reports the HDP flush registers and lets the CPU map VRAM allocations it is granted, as ROCr does on a large-BAR card. The HDP flush register page is exported in the 4 KiB hole next to it, so 16 KiB host pages can map it. With LemonSeed Engine's HRX on an R9700: DFlash2 decode 53.0 → 54.2 tok/s (+2.3%), MTP=3 53.6 → 55.4 / 54.0 tok/s, plain 30.7 → 31.8 tok/s (+3.6%); time to first token unchanged, output identical.
  2. Every CPU store a client makes into the GPU on its submission path (kernel arguments, HDP flush, doorbell) happens inside one bracket on the client's gate. The driver closes the gate and waits for open brackets before a power change, device reset, session close, quarantine or fault. Once the device is gone, the runtime and libmlg_drm replace the process's GPU mappings with ordinary memory.
  3. Writes into VRAM use aligned 64-bit stores, since Apple silicon maps the BAR as device memory.

Upgrading from an earlier build: the old build does not yet leave on its own. Turn the display off in the menu bar, then use Disconnect GPU (or power-cycle the GPU), and the new build takes over.