Skip to content
Nicholas Smith edited this page Jun 24, 2024 · 1 revision

DeviceType

TT device

Syntax:

!tt.device<
  ::mlir::tt::GridAttr,   # mesh
  ::llvm::ArrayRef<unsigned>   # chipIds
>

Device type in TT dialect

Parameters:

Parameter C++ type Description
mesh ::mlir::tt::GridAttr TT grid attribute
chipIds ::llvm::ArrayRef<unsigned>

TileType

TT tile

Syntax:

!tt.tile<
  unsigned,   # height
  unsigned,   # width
  DataType   # dataType
>

Tile type in TT dialect

Parameters:

Parameter C++ type Description
height unsigned
width unsigned
dataType DataType
Clone this wiki locally