4 Commits
Author SHA1 Message Date
geramyloveless 6dd8c2a74d Synchronize GPU code caches before publishing HSA executables
Complete the existing bounded native cache-sync path after executable upload so reused code allocations cannot execute stale instructions. Reject loads when synchronization fails and retain one utility allocation per connection.

Validate with loader fault injection, 18 host tests, 360 guarded FP32/INT8 dispatches, an allocation-only negative control, and matching Qwen inference responses.
2026-09-24 07:53:48 -07:00
geramyloveless 46e8d1460f Add HRX host runtime and native atomic validation
Implement coarse host pools, dynamic queue resources, discovery-based topology and ATOM clock queries. Correct R9700 two-array compute masks and NBIF ROM-bank access found during driver 188 validation.

Build pinned HRX, Loom and LSE through reproducible macOS adapters. Add guarded HRX compute, queue resource and native CPU/GPU add/CAS controls and contention tests. Driver 189 hardware validation remains pending; no inference or general fine-grained atomic support is claimed.
2026-09-23 15:06:25 -07:00
geramyloveless 1bbc1aa1f8 Implement AMD loader services and shared host memory transport
Provide the complete AMD loader 1.03 table with retained source storage, descriptor translations, loaded-object metadata and callback-safe enumeration. Verify loader behavior on the GPU after reader destruction.

Add a session-fixed GART host window, direct CPU DMA verification, GTT SDMA copies and equal-address IOKit mappings with collision rejection. Include a shared-memory hardware probe for build 182 and preserve faulted mappings until recovery. Shared HSA signals, hardware queues and inference remain incomplete pending the next hardware bringup steps.
2026-09-23 11:16:42 -07:00
geramyloveless 1318137951 Support shared GPU sessions and load HSA kernel executables
Keep PCI ownership in the driver and retire per-client resources without resetting active peers. Validate normal and abrupt client departure on hardware, with reset after the final participant exits.

Add gfx1201 ISA queries and bounded ELF executable loading with metadata, descriptor and relocation validation. Test upload failures, symbol lifetime and shutdown under sanitizers, and verify executable loading on hardware.
2026-09-23 10:05:34 -07:00