Skip to content

kernel.async.group

← kernel dialect

Commit zero or more async copy/gather/cluster/tensor tokens into the ordered async stream. Empty groups are valid pipeline markers. The resulting group completes after all committed transfers complete. Groups are ordered by program order; waiting a group also completes older groups in the same stream.

Operation contract

Property Value
Semantic phase —
Traits UnknownEffects
Target contracts kernel.async

Signature

Kind Name Type Cardinality Description
Operand tokens any variadic Async copy, gather, cluster-gather, or tensor-memory tokens to commit into this group.
Result group any required Opaque async group token to wait.

Examples

%empty = kernel.async.group -> kernel.async.group
%group = kernel.async.group %copy0, %copy1 : kernel.async.token, kernel.async.token -> kernel.async.group