Skip to main content

Module aql

Module aql 

Source
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§

DispatchDescriptor
Normalized dispatch descriptor (vendor-neutral SoftGPU view).

Enums§

AqlParseError
KernargClass
How SoftGPU classifies a kernarg pointer without claiming contents.
PacketType

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).