pub struct SubgroupCollective<'a> {
pub kind: &'a CollectiveKind,
pub value: String,
pub value_elem: ElementKind,
pub operand: Option<String>,
pub operand_const: Option<i64>,
pub signed: bool,
pub subgroup: Option<(u32, u32)>,
}Expand description
One subgroup collective (board 506 “A”, narrowed) for a dialect to spell: the ruled reductions, shuffles, votes and broadcasts
of crate::collective_is_ruled. The walker has already lowered the value and the operand to text, and the checker
(check_kernel) has already refused a collective after a lane-divergent Return (CollectiveAfterReturn) or under
lane-divergent control (BarrierDivergent).
Lifted by CireSnave 2026-11-26 (board 506 A) as his risk call: “outside as read” is a reading of public documents, not a clearance; no attorney; findings, not advice.
Fields§
§kind: &'a CollectiveKindWhich collective (a ruled one).
value: StringThe text of the value every lane contributes.
value_elem: ElementKindThe element type of the value.
operand: Option<String>The text of the shuffle operand or the broadcast lane, when the kind has one.
operand_const: Option<i64>The operand’s value when it is a constant (ConstInt), else None.
signed: boolWhether the kernel’s integers are signed (I32) rather than unsigned (U32).
subgroup: Option<(u32, u32)>The launch’s stated subgroup size range, (min, max), when the launch states one.