Skip to main content

Module attributes

Module attributes 

Source

Structs§

BoolAttr
A boolean attribute
BufferBindingAttr
ComplexAttr
Dim3Attr
EntrypointAbiAttr
FloatAttr
IndexAttr
IntegerVecAttr
A vector of other attributes.
SymbolVisibilityAttr
Symbol visibility
ZeroAttr
A zero-value attribute, used for zero-initializing arbitrary types with whatever “zero” means for it. Arrays get all fields zero-initialized, floats and ints initialize to zero, booleans to false, etc.

Enums§

BufferIOAttr
What a compiled kernel does with one buffer binding, stamped on the entry function’s arguments by the visibility analysis and carried to the launch site, where the write scope stages exactly what the kernel writes and checks exactly what it reads.

Statics§

ATTR_BUFFER_BINDING
ATTR_BUFFER_IO
ATTR_KEY_ARG_ATTRS
ATTR_KEY_ENTRY_POINT
Key for entry point attribute when the operation defines an entry point.
ATTR_KEY_RES_ATTRS
ATTR_TENSOR_MAP_BINDING

Traits§

EntrypointInterface
Op that may define an entry point.
FuncInterface
Op that may define an entry point.
IntAttrExt
TypedLiteral

Functions§

buffer_io_by_position
The per-buffer IO the visibility pass stamped on func’s arguments, indexed by buffer position — the vector a compiled kernel carries to the launch site.