ttmetal.create_buffer
(tt::ttmetal::CreateBufferOp)
Create buffer op.
Create buffer operation
Attributes:
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 %}} |
Results:
Result | Description |
---|---|
result | ranked tensor of any type values |
ttmetal.deallocate_buffer
(tt::ttmetal::DeallocateBufferOp)
Deallocate buffer op.
Deallocate buffer operation
Operands:
Operand | Description |
---|---|
input | ranked tensor of any type values |
ttmetal.enqueue_program
(tt::ttmetal::EnqueueProgramOp)
Enqueue program op.
Enqueue program operation
Traits: AttrSizedOperandSegments
Interfaces: DestinationStyleOpInterface
Attributes:
Attribute | MLIR Type | Description |
---|---|---|
core_ranges | ::mlir::ArrayAttr | |
kernelConfigs | ::mlir::ArrayAttr |
Operands:
Operand | Description |
---|---|
inputs | variadic of ranked tensor of any type values |
outputs | variadic of ranked tensor of any type values |
Results:
Result | Description |
---|---|
results | variadic of ranked tensor of any type values |
ttmetal.enqueue_read_buffer
(tt::ttmetal::EnqueueReadBufferOp)
Enqueue read buffer op.
Enqueue read buffer operation
Interfaces: DestinationStyleOpInterface
Operands:
Operand | Description |
---|---|
input | ranked tensor of any type values |
output | ranked tensor of any type values |
Results:
Result | Description |
---|---|
result | ranked tensor of any type values |
ttmetal.enqueue_write_buffer
(tt::ttmetal::EnqueueWriteBufferOp)
Enqueue write buffer op.
Enqueue write buffer operation
Interfaces: DestinationStyleOpInterface
Attributes:
Attribute | MLIR Type | Description |
---|---|---|
value | ::mlir::ElementsAttr | constant vector/tensor attribute |
Operands:
Operand | Description |
---|---|
output | ranked tensor of any type values |
Results:
Result | Description |
---|---|
result | ranked tensor of any type values |