Skip to content

kernel.subgroup.id

kernel dialect

Read the current subgroup coordinate within the workgroup.

Operation contract

Property Value
Semantic phase executable
Traits Pure, HasAncestor(kernel.def)

Signature

Kind Name Type Cardinality Description
Result result index required Current subgroup id within the workgroup.

Examples

%sg = kernel.subgroup.id : index