ttmetal.alloc (tt::ttmetal::AllocOp)

Alloc op.

Tensor Alloc operation

Attributes:

AttributeMLIR TypeDescription
address::mlir::IntegerAttr64-bit signless integer attribute
size::mlir::IntegerAttr64-bit signless integer attribute
memory_space::mlir::tt::MemorySpaceAttr
TT MemorySpace{{% markdown %}}Enum cases: * system (`System`) * mmio (`SystemMMIO`) * dram (`DeviceDRAM`) * l1 (`DeviceL1`){{% /markdown %}}

Results:

ResultDescription
resultranked tensor of any type values

ttmetal.dealloc (tt::ttmetal::DeallocOp)

Dealloc op.

Tensor Dealloc operation

Operands:

OperandDescription
inputranked tensor of any type values

ttmetal.dispatch (tt::ttmetal::DispatchOp)

Dispatch op.

Dispatch operation

Traits: AttrSizedOperandSegments

Interfaces: DestinationStyleOpInterface

Attributes:

AttributeMLIR TypeDescription
core_ranges::mlir::ArrayAttr
kernelConfigs::mlir::ArrayAttr

Operands:

OperandDescription
inputsvariadic of ranked tensor of any type values
outputsvariadic of ranked tensor of any type values

Results:

ResultDescription
resultsvariadic of ranked tensor of any type values

ttmetal.host_read (tt::ttmetal::HostReadOp)

Host read op.

Host read operation

Interfaces: DestinationStyleOpInterface

Operands:

OperandDescription
inputranked tensor of any type values
outputranked tensor of any type values

Results:

ResultDescription
resultranked tensor of any type values

ttmetal.host_write (tt::ttmetal::HostWriteOp)

Host write op.

Host write operation

Interfaces: DestinationStyleOpInterface

Operands:

OperandDescription
inputranked tensor of any type values
outputranked tensor of any type values

Results:

ResultDescription
resultranked tensor of any type values