bloqade.lanes.analysis.atom.ShotRemappingDiagnostic
← Module overview
class
classShotRemappingDiagnostic¶source
bloqade.lanes.analysis.atom.ShotRemappingDiagnostic
Compiler-developer-facing diagnostic emitted when ``get_shot_remapping`` cannot derive a Zone-0 index list.
class ShotRemappingDiagnosticA failure here indicates an analysis or pipeline regression
rather than a user error — the user supplied a kernel, the
compiler service lowered it, and somewhere along the way the
analysis output drifted away from the expected
IListResult[IListResult[MeasureResult]] shape (or pointed
to a hardware location the architecture doesn’t know about).
The fields below carry enough context for a compiler developer
to find the offending pass.
Attributes
| Name | Type | Description |
|---|---|---|
message | str | human-readable description with the failure path baked in (e.g. ``"logical[2].physical[5]: …"``). |
offending_value | MoveExecution | LocationAddress | the lattice value or address that triggered the failure. |