Expand description
SoftGPU software memory: one host allocator behind regions and AMD pools.
Provenance: softgpu-software. Allocations are process CPU memory, not
R9700 VRAM. Sizes are SoftGPU defaults, not invented hardware limits.
§Ownership invariants
- Every live SoftGPU allocation is keyed by base pointer in
live. AllocationisSendbecause SoftGPU never shares a mutable allocation across threads without going through the process-global runtime mutex; the raw pointer is exclusive to SoftGPU untilfree.- Free of an unknown pointer fails closed (no silent host
free).
Structs§
- Allocation
Meta - SoftGPU permission / lifetime metadata for a tracked allocation.
- Memory
Space - Soft
GpuAllocator - Process-heap SoftGPU allocator with tracked pointers.
Enums§
Constants§
- AMD_
POOL_ FLAGS_ COARSE COARSE_GRAINED.- AMD_
POOL_ FLAGS_ FINE_ KERNARG KERNARG_INIT | FINE_GRAINED.- AMD_
POOL_ LOCATION_ CPU - AMD_
POOL_ LOCATION_ GPU - AMD_
SEGMENT_ GLOBAL - AMD
HSA_AMD_SEGMENT_GLOBAL. - REGION_
FLAGS_ COARSE HSA_REGION_GLOBAL_FLAG_COARSE_GRAINED.- REGION_
FLAGS_ FINE_ KERNARG HSA_REGION_GLOBAL_FLAG_KERNARG | FINE_GRAINED.- REGION_
SEGMENT_ GLOBAL - HSA
HSA_REGION_SEGMENT_GLOBAL. - SOFTGPU_
ALLOC_ ALIGNMENT - SOFTGPU_
ALLOC_ GRANULE - SOFTGPU_
MAX_ ALLOC_ BYTES - SoftGPU max single allocation. Not an R9700 claim.
- SOFTGPU_
POOL_ BYTES - SoftGPU software pool capacity (host bytes). Not hardware VRAM.