Skip to main content

Module queue

Module queue 

Source
Expand description

SoftGPU user-mode queues: create / destroy / indexes / AQL observe.

Phase 4: SoftGPU validates kernel-dispatch packets, records normalized descriptors, and may apply the experimental diagnostic completion contract (completion signal store) without executing kernel semantics. Advancing HSA read_index after diagnostic complete/reject is packet- processor protocol progress, not kernel success.

Structs§

HsaQueueAbi
Host-visible hsa_queue_t layout under HSA_LARGE_MODEL (64-bit).
PacketObservation
SoftGpuQueue

Enums§

PacketValidateError

Constants§

AQL_PACKET_BYTES
AQL packet size in bytes (HSA kernel dispatch packet).
PACKET_TYPE_INVALID
HSA_PACKET_TYPE_INVALID in the packet header type field.
PACKET_TYPE_KERNEL_DISPATCH
HSA_PACKET_TYPE_KERNEL_DISPATCH.
QUEUE_FEATURE_KERNEL_DISPATCH
HSA_QUEUE_FEATURE_KERNEL_DISPATCH.
QUEUE_TYPE_MULTI
HSA_QUEUE_TYPE_MULTI.
QUEUE_TYPE_SINGLE
HSA_QUEUE_TYPE_SINGLE.
SOFTGPU_QUEUES_MAX
SOFTGPU_QUEUE_MAX_SIZE
SOFTGPU_QUEUE_MIN_SIZE
SoftGPU software queue size limits (not hardware).

Functions§

init_packet_buffer
Initialize every packet header type field to INVALID.
is_power_of_two