Skip to content

kernel.entry.decl

kernel dialect

Bodyless declaration of an executable kernel entry. The declaration owns the device ABI but has no workload-to-workgroup configuration contract, execution geometry, or implementation body.

Operation contract

Property Value
Semantic phase executable
Traits SymbolDefine
Interfaces FuncLike

Symbol contract

Property Value
Kind kernel entry
Defining field callee
Interfaces func_like, kernel_entry
Flags declaration

Signature

Kind Name Type Cardinality Description
Operand args any variadic
Attribute callee symbol required
Attribute target symbol (target) optional
Attribute retain enum Retain optional

Examples

kernel.entry.decl @fill(%count: index, %output: buffer)
kernel.entry.decl target(@gfx1250) @clustered(%output: buffer)