Skip to main content

Module policy

Module policy 

Source
Expand description

Resident megakernel launch policy and queue-pressure decisions.

Structs§

PriorityDrainRecommendation
Structured drain recommendation for priority scheduler counters.
PriorityRequeueAccounting
Requeue and aging counters produced by priority-aware schedulers.
ResidentLaunchCacheStats
Thread-local launch recommendation cache telemetry.
ResidentLaunchPolicy
Single policy surface for megakernel launch sizing and telemetry-driven routing.
ResidentLaunchRecommendation
Policy output consumed by runtime dispatchers and batch builders.
ResidentLaunchRequest
Inputs for one launch-policy recommendation.
ResidentPromotionEvidence
Evidence envelope that makes hot opcode/window promotion auditable.
ResidentTopologyEvidence
Evidence envelope that makes topology selection auditable by runtime benches.

Enums§

PriorityDrainReason
Reason a priority scheduler should drain telemetry into a launch request.
ResidentExecutionMode
Interpreter/JIT route selected by the launch policy.
ResidentGraphBlasSwitchClass
GraphBLAS-style sparse/dense switch class for a selected launch topology.
ResidentPromotionRoute
Interpreter/JIT promotion route selected from queue and hot-window signals.
ResidentQueuePressure
Host-side pressure classification for one megakernel launch.
ResidentQueueTopology
Scale-aware execution topology selected for one megakernel launch.

Constants§

HOT_WINDOW_PROMOTION_EVIDENCE_SCHEMA_VERSION
Schema version for hot opcode/window promotion evidence emitted by policy.
PRIORITY_COUNTER_DRAIN_FIX
Stable operator fix for priority counter drain recommendations.
PRIORITY_COUNTER_DRAIN_HEADROOM
Counter headroom at or below which schedulers should drain telemetry.
TOPOLOGY_EVIDENCE_SCHEMA_VERSION
Schema version for topology evidence emitted by the megakernel launch policy.

Functions§

try_diffuse_priority_across_siblings
Diffuse priority signals across priority-class siblings with fallible output staging.
try_diffuse_priority_across_siblings_into
Diffuse priority signals into caller-owned storage with fallible staging.