-
Notifications
You must be signed in to change notification settings - Fork 13
TTMetalOp
Nicholas Smith edited this page Jun 24, 2024
·
1 revision
Alloc op.
Tensor Alloc operation
Attribute | MLIR Type | Description |
---|---|---|
address |
::mlir::IntegerAttr | 64-bit signless integer attribute |
size |
::mlir::IntegerAttr | 64-bit signless integer attribute |
memory_space |
::mlir::tt::MemorySpaceAttr | TT MemorySpace{{% markdown %}}Enum cases: * system (`System`) * mmio (`SystemMMIO`) * dram (`DeviceDRAM`) * l1 (`DeviceL1`){{% /markdown %}} |
Result | Description |
---|---|
result |
ranked tensor of any type values |
Dealloc op.
Tensor Dealloc operation
Operand | Description |
---|---|
input |
ranked tensor of any type values |
Dispatch op.
Dispatch operation
Traits: AttrSizedOperandSegments
Interfaces: DestinationStyleOpInterface
Attribute | MLIR Type | Description |
---|---|---|
core_ranges |
::mlir::ArrayAttr | |
threadTypes |
::mlir::ArrayAttr | |
operand_cb_port_mapping |
::mlir::ArrayAttr | array attribute |
Operand | Description |
---|---|
inputs |
variadic of ranked tensor of any type values |
outputs |
variadic of ranked tensor of any type values |
Result | Description |
---|---|
results |
variadic of ranked tensor of any type values |
Host read op.
Host read operation
Interfaces: DestinationStyleOpInterface
Operand | Description |
---|---|
input |
ranked tensor of any type values |
output |
ranked tensor of any type values |
Result | Description |
---|---|
result |
ranked tensor of any type values |
Host write op.
Host write operation
Interfaces: DestinationStyleOpInterface
Operand | Description |
---|---|
input |
ranked tensor of any type values |
output |
ranked tensor of any type values |
Result | Description |
---|---|
result |
ranked tensor of any type values |