Expand description
Resident work-queue sizing, launch geometry, and work-item contracts.
Structs§
- Barrier
Elision Report - Report returned by
elide_value_flow_barriers. - Resident
Grid Limits - Adapter limits that bound a megakernel worker-grid recommendation.
- Resident
Grid Plan - Resolved worker-grid plan shared by direct and policy-driven megakernel paths.
- Resident
Grid Request - Logical work shape requested for a megakernel worker-grid recommendation.
- Resident
Launch Geometry - Host-side launch geometry for a finite megakernel dispatch.
- Resident
Queue Capabilities - Capabilities surfaced by megakernel-aware backends.
- Resident
Queue Config - Configuration for one megakernel dispatch invocation.
- Resident
Queue Report - Summary stats from one megakernel run.
- Resident
Queue Telemetry - Production counters from one megakernel dispatch.
- Resident
Sizing Policy - Shared worker-grid sizing policy for megakernel dispatch.
- Resident
Work Item - One work-queue item the megakernel worker consumes.
- Resident
Workload Hints - Optional scale signals that let the megakernel launch policy choose sparse, dense, hybrid, fused, or memory-constrained execution from real workload shape instead of queue length alone.
Functions§
- build_
bellman_ tn_ order_ program - Bellman tensor-network ordering Program builder. Wraps
vyre_self_substrate::bellman_tn_order::bellman_tn_order_program. - build_
kfac_ autotune_ step_ program - KFAC autotune-step Program builder. Wraps
vyre_self_substrate::kfac_autotune_step::kfac_autotune_step_program. - build_
persistent_ fixpoint_ program - Build a persistent-fixpoint Program around a caller-supplied
transfer body. Replaces a host-side
loop { dispatch(); check }pattern with a single GPU-side dispatch that ping-pongscurrent ↔ nextuntilchanged[0] == 0ormax_iterations. - build_
scallop_ provenance_ wide_ program - Build a multi-word scallop-provenance Program. Wraps
vyre_self_substrate::scallop_provenance_wide::scallop_provenance_wide_programfor >32-rule lineage tracking (W=8 → 256 rules max). - build_
sinkhorn_ clustering_ program - Build a sinkhorn dispatch-clustering Program. Wraps
vyre_self_substrate::sinkhorn_dispatch_clustering::sinkhorn_clustering_program. - build_
sinkhorn_ full_ clustering_ program - for callers that need the full iterative-balance variant rather than the dispatch-clustering simplification.
- default_
worker_ groups_ from_ limits - Compute a persistent-worker ceiling from adapter limits.
- dispatch_
grid_ for - Compute the backend dispatch grid for a logical queue length.
- elide_
value_ flow_ barriers - Remove barriers between independent megakernel arms.
- padded_
slot_ count - Round a logical slot count up to a whole workgroup.
- worker_
workgroup_ size - Clamp the caller’s worker setting into the legal x dimension used by the current megakernel ABI.