Expand description
AQL packet decode/validate for SoftGPU Phase 4 (no kernel execution).
Parses HSA kernel-dispatch (and minimal barrier) packets from owned bytes.
Layout provenance: pinned ROCR hsa.h (hsa_kernel_dispatch_packet_t
under HSA_LARGE_MODEL, 64 bytes).
Structs§
- Dispatch
Descriptor - Normalized dispatch descriptor (vendor-neutral SoftGPU view).
Enums§
- AqlParse
Error - Kernarg
Class - How SoftGPU classifies a kernarg pointer without claiming contents.
- Packet
Type
Constants§
- DIAGNOSTIC_
COMPLETE_ NO_ EXECUTION - SoftGPU experimental no-execution completion contract label.
- DIAGNOSTIC_
REJECTED - KERNEL_
SUCCESS - SoftGPU Phase 11: registered ISA kernel ran successfully (named subset only).
- PACKET_
TYPE_ AGENT_ DISPATCH HSA_PACKET_TYPE_AGENT_DISPATCH.- PACKET_
TYPE_ BARRIER_ AND HSA_PACKET_TYPE_BARRIER_AND.- PACKET_
TYPE_ BARRIER_ OR HSA_PACKET_TYPE_BARRIER_OR.
Functions§
- golden_
kernel_ dispatch_ 1d - Build a lawful minimal 1D kernel-dispatch packet (SoftGPU test fixture).
- parse_
barrier_ minimal - Minimal barrier accept: header type + completion signal only (deps unchecked).
- parse_
kernel_ dispatch - Parse and validate a kernel-dispatch packet from exactly 64 bytes.
- parse_
supported_ packet - Parse a Phase 4-supported packet (kernel-dispatch, or minimal barrier).
- replay_
dispatch - Replay parser on captured bytes (no live host pointers required).