-
Notifications
You must be signed in to change notification settings - Fork 14
TTKernelOp
Aquire dest call.
Aquire dest operation
Add operation
Add operation
Operand | Description |
---|---|
dst_index |
32-bit signless integer |
Builtin call.
Kernel operation
Attribute | MLIR Type | Description |
---|---|---|
op |
::mlir::FlatSymbolRefAttr | flat symbol reference attribute |
kind |
::mlir::FlatSymbolRefAttr | flat symbol reference attribute |
Operand | Description |
---|---|
args |
variadic of non-0-ranked.memref of any type values or TTKernel cb |
CBPopFront call.
CBPopFront operation
Operand | Description |
---|---|
cb |
TTKernel cb |
CBPushBack call.
CBPushBack operation
Operand | Description |
---|---|
cb |
TTKernel cb |
CBReserveBack call.
CBReserveBack operation
Operand | Description |
---|---|
cb |
TTKernel cb |
CBWaitFront call.
CBWaitFront operation
Operand | Description |
---|---|
cb |
TTKernel cb |
Matmul operation
Matmul operation
Operand | Description |
---|---|
dst_index |
32-bit signless integer |
Mul operation
Mul operation
Operand | Description |
---|---|
dst_index |
32-bit signless integer |
Pack op.
Pack operation
Operand | Description |
---|---|
dst_index |
32-bit signless integer |
out_cb |
TTKernel cb |
out_index |
32-bit signless integer |
Pack set DataType op.
Pack set DataType operation
Attribute | MLIR Type | Description |
---|---|---|
data_type |
::mlir::tt::DataTypeAttr | TT DataTypes{{% markdown %}}Enum cases: * f32 (`Float32`) * f16 (`Float16`) * bf16 (`BFloat16`) * bc_f8 (`BC_Float8`) * bc_bf8 (`BC_BFloat8`) * bc_f4 (`BC_Float4`) * bc_bf4 (`BC_BFloat4`) * bc_f2 (`BC_Float2`) * bc_bf2 (`BC_BFloat2`) * u32 (`UInt32`) * u16 (`UInt16`) * u8 (`UInt8`){{% /markdown %}} |
Release dest call.
Release dest operation
Return op.
Return operation
Traits: AlwaysSpeculatableImplTrait
, ReturnLike
, Terminator
Interfaces: ConditionallySpeculatable
, NoMemoryEffect (MemoryEffectOpInterface)
, RegionBranchTerminatorOpInterface
Effects: MemoryEffects::Effect{}
Sub operation
Sub operation
Operand | Description |
---|---|
dst_index |
32-bit signless integer |
UnpackAB op.
UnpackAB operation
Operand | Description |
---|---|
cb_a |
TTKernel cb |
src_a_index |
32-bit signless integer |
cb_b |
TTKernel cb |
src_b_index |
32-bit signless integer |
UnpackA op.
UnpackA operation
Operand | Description |
---|---|
cb |
TTKernel cb |
src_index |
32-bit signless integer |
Unpack set DataType op.
Unpack set DataType operation
Attribute | MLIR Type | Description |
---|---|---|
data_type_a |
::mlir::tt::DataTypeAttr | TT DataTypes{{% markdown %}}Enum cases: * f32 (`Float32`) * f16 (`Float16`) * bf16 (`BFloat16`) * bc_f8 (`BC_Float8`) * bc_bf8 (`BC_BFloat8`) * bc_f4 (`BC_Float4`) * bc_bf4 (`BC_BFloat4`) * bc_f2 (`BC_Float2`) * bc_bf2 (`BC_BFloat2`) * u32 (`UInt32`) * u16 (`UInt16`) * u8 (`UInt8`){{% /markdown %}} |
data_type_b |
::mlir::tt::DataTypeAttr | TT DataTypes{{% markdown %}}Enum cases: * f32 (`Float32`) * f16 (`Float16`) * bf16 (`BFloat16`) * bc_f8 (`BC_Float8`) * bc_bf8 (`BC_BFloat8`) * bc_f4 (`BC_Float4`) * bc_bf4 (`BC_BFloat4`) * bc_f2 (`BC_Float2`) * bc_bf2 (`BC_BFloat2`) * u32 (`UInt32`) * u16 (`UInt16`) * u8 (`UInt8`){{% /markdown %}} |
Unreachable op.
Unreachable operation
Traits: AlwaysSpeculatableImplTrait
, ReturnLike
, Terminator
Interfaces: ConditionallySpeculatable
, NoMemoryEffect (MemoryEffectOpInterface)
, RegionBranchTerminatorOpInterface
Effects: MemoryEffects::Effect{}